alicloud.esa.EdgeContainerApp
Explore with Pulumi AI
Provides a ESA Edge Container App resource.
For information about ESA Edge Container App and how to use it, see What is Edge Container App.
NOTE: Available since v1.247.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tfexample";
const _default = new alicloud.esa.EdgeContainerApp("default", {
targetPort: 3000,
healthCheckHost: "example.com",
remarks: name,
healthCheckPort: 80,
healthCheckUri: "/",
healthCheckTimeout: 3,
healthCheckMethod: "HEAD",
healthCheckHttpCode: "http_2xx",
healthCheckFailTimes: 5,
servicePort: 80,
healthCheckInterval: 5,
healthCheckSuccTimes: 2,
edgeContainerAppName: name,
healthCheckType: "l7",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tfexample"
default = alicloud.esa.EdgeContainerApp("default",
target_port=3000,
health_check_host="example.com",
remarks=name,
health_check_port=80,
health_check_uri="/",
health_check_timeout=3,
health_check_method="HEAD",
health_check_http_code="http_2xx",
health_check_fail_times=5,
service_port=80,
health_check_interval=5,
health_check_succ_times=2,
edge_container_app_name=name,
health_check_type="l7")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/esa"
"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 := "tfexample"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := esa.NewEdgeContainerApp(ctx, "default", &esa.EdgeContainerAppArgs{
TargetPort: pulumi.Int(3000),
HealthCheckHost: pulumi.String("example.com"),
Remarks: pulumi.String(name),
HealthCheckPort: pulumi.Int(80),
HealthCheckUri: pulumi.String("/"),
HealthCheckTimeout: pulumi.Int(3),
HealthCheckMethod: pulumi.String("HEAD"),
HealthCheckHttpCode: pulumi.String("http_2xx"),
HealthCheckFailTimes: pulumi.Int(5),
ServicePort: pulumi.Int(80),
HealthCheckInterval: pulumi.Int(5),
HealthCheckSuccTimes: pulumi.Int(2),
EdgeContainerAppName: pulumi.String(name),
HealthCheckType: pulumi.String("l7"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tfexample";
var @default = new AliCloud.Esa.EdgeContainerApp("default", new()
{
TargetPort = 3000,
HealthCheckHost = "example.com",
Remarks = name,
HealthCheckPort = 80,
HealthCheckUri = "/",
HealthCheckTimeout = 3,
HealthCheckMethod = "HEAD",
HealthCheckHttpCode = "http_2xx",
HealthCheckFailTimes = 5,
ServicePort = 80,
HealthCheckInterval = 5,
HealthCheckSuccTimes = 2,
EdgeContainerAppName = name,
HealthCheckType = "l7",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.esa.EdgeContainerApp;
import com.pulumi.alicloud.esa.EdgeContainerAppArgs;
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("tfexample");
var default_ = new EdgeContainerApp("default", EdgeContainerAppArgs.builder()
.targetPort("3000")
.healthCheckHost("example.com")
.remarks(name)
.healthCheckPort("80")
.healthCheckUri("/")
.healthCheckTimeout("3")
.healthCheckMethod("HEAD")
.healthCheckHttpCode("http_2xx")
.healthCheckFailTimes("5")
.servicePort("80")
.healthCheckInterval("5")
.healthCheckSuccTimes("2")
.edgeContainerAppName(name)
.healthCheckType("l7")
.build());
}
}
configuration:
name:
type: string
default: tfexample
resources:
default:
type: alicloud:esa:EdgeContainerApp
properties:
targetPort: '3000'
healthCheckHost: example.com
remarks: ${name}
healthCheckPort: '80'
healthCheckUri: /
healthCheckTimeout: '3'
healthCheckMethod: HEAD
healthCheckHttpCode: http_2xx
healthCheckFailTimes: '5'
servicePort: '80'
healthCheckInterval: '5'
healthCheckSuccTimes: '2'
edgeContainerAppName: ${name}
healthCheckType: l7
Create EdgeContainerApp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EdgeContainerApp(name: string, args: EdgeContainerAppArgs, opts?: CustomResourceOptions);
@overload
def EdgeContainerApp(resource_name: str,
args: EdgeContainerAppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EdgeContainerApp(resource_name: str,
opts: Optional[ResourceOptions] = None,
edge_container_app_name: Optional[str] = None,
target_port: Optional[int] = None,
service_port: Optional[int] = None,
health_check_port: Optional[int] = None,
health_check_interval: Optional[int] = None,
health_check_method: Optional[str] = None,
health_check_http_code: Optional[str] = None,
health_check_succ_times: Optional[int] = None,
health_check_timeout: Optional[int] = None,
health_check_type: Optional[str] = None,
health_check_uri: Optional[str] = None,
remarks: Optional[str] = None,
health_check_host: Optional[str] = None,
health_check_fail_times: Optional[int] = None)
func NewEdgeContainerApp(ctx *Context, name string, args EdgeContainerAppArgs, opts ...ResourceOption) (*EdgeContainerApp, error)
public EdgeContainerApp(string name, EdgeContainerAppArgs args, CustomResourceOptions? opts = null)
public EdgeContainerApp(String name, EdgeContainerAppArgs args)
public EdgeContainerApp(String name, EdgeContainerAppArgs args, CustomResourceOptions options)
type: alicloud:esa:EdgeContainerApp
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 EdgeContainerAppArgs
- 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 EdgeContainerAppArgs
- 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 EdgeContainerAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EdgeContainerAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EdgeContainerAppArgs
- 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 edgeContainerAppResource = new AliCloud.Esa.EdgeContainerApp("edgeContainerAppResource", new()
{
EdgeContainerAppName = "string",
TargetPort = 0,
ServicePort = 0,
HealthCheckPort = 0,
HealthCheckInterval = 0,
HealthCheckMethod = "string",
HealthCheckHttpCode = "string",
HealthCheckSuccTimes = 0,
HealthCheckTimeout = 0,
HealthCheckType = "string",
HealthCheckUri = "string",
Remarks = "string",
HealthCheckHost = "string",
HealthCheckFailTimes = 0,
});
example, err := esa.NewEdgeContainerApp(ctx, "edgeContainerAppResource", &esa.EdgeContainerAppArgs{
EdgeContainerAppName: pulumi.String("string"),
TargetPort: pulumi.Int(0),
ServicePort: pulumi.Int(0),
HealthCheckPort: pulumi.Int(0),
HealthCheckInterval: pulumi.Int(0),
HealthCheckMethod: pulumi.String("string"),
HealthCheckHttpCode: pulumi.String("string"),
HealthCheckSuccTimes: pulumi.Int(0),
HealthCheckTimeout: pulumi.Int(0),
HealthCheckType: pulumi.String("string"),
HealthCheckUri: pulumi.String("string"),
Remarks: pulumi.String("string"),
HealthCheckHost: pulumi.String("string"),
HealthCheckFailTimes: pulumi.Int(0),
})
var edgeContainerAppResource = new EdgeContainerApp("edgeContainerAppResource", EdgeContainerAppArgs.builder()
.edgeContainerAppName("string")
.targetPort(0)
.servicePort(0)
.healthCheckPort(0)
.healthCheckInterval(0)
.healthCheckMethod("string")
.healthCheckHttpCode("string")
.healthCheckSuccTimes(0)
.healthCheckTimeout(0)
.healthCheckType("string")
.healthCheckUri("string")
.remarks("string")
.healthCheckHost("string")
.healthCheckFailTimes(0)
.build());
edge_container_app_resource = alicloud.esa.EdgeContainerApp("edgeContainerAppResource",
edge_container_app_name="string",
target_port=0,
service_port=0,
health_check_port=0,
health_check_interval=0,
health_check_method="string",
health_check_http_code="string",
health_check_succ_times=0,
health_check_timeout=0,
health_check_type="string",
health_check_uri="string",
remarks="string",
health_check_host="string",
health_check_fail_times=0)
const edgeContainerAppResource = new alicloud.esa.EdgeContainerApp("edgeContainerAppResource", {
edgeContainerAppName: "string",
targetPort: 0,
servicePort: 0,
healthCheckPort: 0,
healthCheckInterval: 0,
healthCheckMethod: "string",
healthCheckHttpCode: "string",
healthCheckSuccTimes: 0,
healthCheckTimeout: 0,
healthCheckType: "string",
healthCheckUri: "string",
remarks: "string",
healthCheckHost: "string",
healthCheckFailTimes: 0,
});
type: alicloud:esa:EdgeContainerApp
properties:
edgeContainerAppName: string
healthCheckFailTimes: 0
healthCheckHost: string
healthCheckHttpCode: string
healthCheckInterval: 0
healthCheckMethod: string
healthCheckPort: 0
healthCheckSuccTimes: 0
healthCheckTimeout: 0
healthCheckType: string
healthCheckUri: string
remarks: string
servicePort: 0
targetPort: 0
EdgeContainerApp 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 EdgeContainerApp resource accepts the following input properties:
- Edge
Container stringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- Service
Port int - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- Target
Port int - The server port. Valid values: 1 to 65535.
- Health
Check intFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- Health
Check stringHost The health check type. By default, this parameter is left empty.
Valid values:
- Health
Check stringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- Health
Check intInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - Health
Check stringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- Health
Check intPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - Health
Check intSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - Health
Check intTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- Health
Check stringType - The remarks. This parameter is empty by default.
- Health
Check stringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- Remarks string
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- Edge
Container stringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- Service
Port int - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- Target
Port int - The server port. Valid values: 1 to 65535.
- Health
Check intFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- Health
Check stringHost The health check type. By default, this parameter is left empty.
Valid values:
- Health
Check stringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- Health
Check intInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - Health
Check stringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- Health
Check intPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - Health
Check intSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - Health
Check intTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- Health
Check stringType - The remarks. This parameter is empty by default.
- Health
Check stringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- Remarks string
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- edge
Container StringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- service
Port Integer - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- target
Port Integer - The server port. Valid values: 1 to 65535.
- health
Check IntegerFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health
Check StringHost The health check type. By default, this parameter is left empty.
Valid values:
- health
Check StringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- health
Check IntegerInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health
Check StringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health
Check IntegerPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health
Check IntegerSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health
Check IntegerTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health
Check StringType - The remarks. This parameter is empty by default.
- health
Check StringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks String
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- edge
Container stringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- service
Port number - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- target
Port number - The server port. Valid values: 1 to 65535.
- health
Check numberFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health
Check stringHost The health check type. By default, this parameter is left empty.
Valid values:
- health
Check stringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- health
Check numberInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health
Check stringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health
Check numberPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health
Check numberSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health
Check numberTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health
Check stringType - The remarks. This parameter is empty by default.
- health
Check stringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks string
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- edge_
container_ strapp_ name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- service_
port int - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- target_
port int - The server port. Valid values: 1 to 65535.
- health_
check_ intfail_ times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health_
check_ strhost The health check type. By default, this parameter is left empty.
Valid values:
- health_
check_ strhttp_ code - The domain name that is used for health checks. This parameter is empty by default.
- health_
check_ intinterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health_
check_ strmethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health_
check_ intport - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health_
check_ intsucc_ times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health_
check_ inttimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health_
check_ strtype - The remarks. This parameter is empty by default.
- health_
check_ struri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks str
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- edge
Container StringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- service
Port Number - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- target
Port Number - The server port. Valid values: 1 to 65535.
- health
Check NumberFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health
Check StringHost The health check type. By default, this parameter is left empty.
Valid values:
- health
Check StringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- health
Check NumberInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health
Check StringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health
Check NumberPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health
Check NumberSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health
Check NumberTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health
Check StringType - The remarks. This parameter is empty by default.
- health
Check StringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks String
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
Outputs
All input properties are implicitly available as output properties. Additionally, the EdgeContainerApp resource produces the following output properties:
- Create
Time string - The time when the application was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the application.
- Create
Time string - The time when the application was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the application.
- create
Time String - The time when the application was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the application.
- create
Time string - The time when the application was created.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the application.
- create_
time str - The time when the application was created.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the application.
- create
Time String - The time when the application was created.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the application.
Look up Existing EdgeContainerApp Resource
Get an existing EdgeContainerApp 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?: EdgeContainerAppState, opts?: CustomResourceOptions): EdgeContainerApp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
edge_container_app_name: Optional[str] = None,
health_check_fail_times: Optional[int] = None,
health_check_host: Optional[str] = None,
health_check_http_code: Optional[str] = None,
health_check_interval: Optional[int] = None,
health_check_method: Optional[str] = None,
health_check_port: Optional[int] = None,
health_check_succ_times: Optional[int] = None,
health_check_timeout: Optional[int] = None,
health_check_type: Optional[str] = None,
health_check_uri: Optional[str] = None,
remarks: Optional[str] = None,
service_port: Optional[int] = None,
status: Optional[str] = None,
target_port: Optional[int] = None) -> EdgeContainerApp
func GetEdgeContainerApp(ctx *Context, name string, id IDInput, state *EdgeContainerAppState, opts ...ResourceOption) (*EdgeContainerApp, error)
public static EdgeContainerApp Get(string name, Input<string> id, EdgeContainerAppState? state, CustomResourceOptions? opts = null)
public static EdgeContainerApp get(String name, Output<String> id, EdgeContainerAppState state, CustomResourceOptions options)
resources: _: type: alicloud:esa:EdgeContainerApp get: id: ${id}
- 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.
- Create
Time string - The time when the application was created.
- Edge
Container stringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- Health
Check intFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- Health
Check stringHost The health check type. By default, this parameter is left empty.
Valid values:
- Health
Check stringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- Health
Check intInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - Health
Check stringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- Health
Check intPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - Health
Check intSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - Health
Check intTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- Health
Check stringType - The remarks. This parameter is empty by default.
- Health
Check stringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- Remarks string
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- Service
Port int - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- Status string
- The status of the application.
- Target
Port int - The server port. Valid values: 1 to 65535.
- Create
Time string - The time when the application was created.
- Edge
Container stringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- Health
Check intFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- Health
Check stringHost The health check type. By default, this parameter is left empty.
Valid values:
- Health
Check stringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- Health
Check intInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - Health
Check stringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- Health
Check intPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - Health
Check intSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - Health
Check intTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- Health
Check stringType - The remarks. This parameter is empty by default.
- Health
Check stringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- Remarks string
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- Service
Port int - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- Status string
- The status of the application.
- Target
Port int - The server port. Valid values: 1 to 65535.
- create
Time String - The time when the application was created.
- edge
Container StringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- health
Check IntegerFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health
Check StringHost The health check type. By default, this parameter is left empty.
Valid values:
- health
Check StringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- health
Check IntegerInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health
Check StringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health
Check IntegerPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health
Check IntegerSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health
Check IntegerTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health
Check StringType - The remarks. This parameter is empty by default.
- health
Check StringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks String
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- service
Port Integer - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- status String
- The status of the application.
- target
Port Integer - The server port. Valid values: 1 to 65535.
- create
Time string - The time when the application was created.
- edge
Container stringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- health
Check numberFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health
Check stringHost The health check type. By default, this parameter is left empty.
Valid values:
- health
Check stringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- health
Check numberInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health
Check stringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health
Check numberPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health
Check numberSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health
Check numberTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health
Check stringType - The remarks. This parameter is empty by default.
- health
Check stringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks string
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- service
Port number - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- status string
- The status of the application.
- target
Port number - The server port. Valid values: 1 to 65535.
- create_
time str - The time when the application was created.
- edge_
container_ strapp_ name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- health_
check_ intfail_ times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health_
check_ strhost The health check type. By default, this parameter is left empty.
Valid values:
- health_
check_ strhttp_ code - The domain name that is used for health checks. This parameter is empty by default.
- health_
check_ intinterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health_
check_ strmethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health_
check_ intport - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health_
check_ intsucc_ times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health_
check_ inttimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health_
check_ strtype - The remarks. This parameter is empty by default.
- health_
check_ struri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks str
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- service_
port int - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- status str
- The status of the application.
- target_
port int - The server port. Valid values: 1 to 65535.
- create
Time String - The time when the application was created.
- edge
Container StringApp Name - The application name must start with a lowercase letter. Lowercase letters, numbers, and bars are supported. The length is limited to 6 to 128 characters.
- health
Check NumberFail Times - The number of consecutive successful health checks required for an application to be considered as healthy. Valid values: 1 to 10. Default value: 2.
- health
Check StringHost The health check type. By default, this parameter is left empty.
Valid values:
- health
Check StringHttp Code - The domain name that is used for health checks. This parameter is empty by default.
- health
Check NumberInterval - The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
Valid values:
1
to100
. Default value:3
. - health
Check StringMethod - The HTTP status code returned for a successful health check. Valid values:
- http_2xx (default)
- http_3xx
- health
Check NumberPort - The URI used for health checks. The URI must be
1
to80
characters in length. Default value: "/". - health
Check NumberSucc Times - The interval between two consecutive health checks. Unit: seconds. Valid values:
1
to50
. Default value:5
. - health
Check NumberTimeout - The port used for health checks. Valid values: 1 to 65535. Default value: 80.
- health
Check StringType - The remarks. This parameter is empty by default.
- health
Check StringUri - The HTTP request method for health checks. Valid values:
HEAD
(default): requests the headers of the resource.GET
: requests the specified resource and returns both the headers and entity body.
- remarks String
- The backend port, which is also the service port of the application. Valid values: 1 to 65535.
- service
Port Number - The name of the application. The name must start with a lowercase letter and can contain lowercase letters, digits, and hyphens (-). The name must be 6 to 128 characters in length.
- status String
- The status of the application.
- target
Port Number - The server port. Valid values: 1 to 65535.
Import
ESA Edge Container App can be imported using the id, e.g.
$ pulumi import alicloud:esa/edgeContainerApp:EdgeContainerApp example <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.