Skip to content

EdgeContainerAppProps

Properties for defining a EdgeContainerApp.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-edgecontainerapp

Initializer

using AlibabaCloud.SDK.ROS.CDK.Esa;
new EdgeContainerAppProps {
    object EdgeContainerAppName,
    object ServicePort,
    object TargetPort,
    object HealthCheckFailTimes = null,
    object HealthCheckHost = null,
    object HealthCheckHttpCode = null,
    object HealthCheckInterval = null,
    object HealthCheckMethod = null,
    object HealthCheckPort = null,
    object HealthCheckSuccTimes = null,
    object HealthCheckTimeout = null,
    object HealthCheckType = null,
    object HealthCheckUri = null,
    object Remarks = null
};

Properties

Name Type Description
EdgeContainerAppName object Property edgeContainerAppName: The name of the application.
ServicePort object Property servicePort: The server port.
TargetPort object Property targetPort: The backend port, which is also the service port of the application.
HealthCheckFailTimes object Property healthCheckFailTimes: The number of consecutive failed health checks required for an application to be considered as unhealthy.
HealthCheckHost object Property healthCheckHost: The domain name that is used for health checks.
HealthCheckHttpCode object Property healthCheckHttpCode: The HTTP status code returned for a successful health check.
HealthCheckInterval object Property healthCheckInterval: The interval between two consecutive health checks.
HealthCheckMethod object Property healthCheckMethod: The HTTP request method for health checks.
HealthCheckPort object Property healthCheckPort: The port used for health checks.
HealthCheckSuccTimes object Property healthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy.
HealthCheckTimeout object Property healthCheckTimeout: The timeout period of a health check response.
HealthCheckType object Property healthCheckType: The health check type.
HealthCheckUri object Property healthCheckUri: The URI used for health checks.
Remarks object Property remarks: The remarks.

EdgeContainerAppNameRequired

public object EdgeContainerAppName { get; set; }
  • Type: object

Property edgeContainerAppName: 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.


ServicePortRequired

public object ServicePort { get; set; }
  • Type: object

Property servicePort: The server port.

Valid values: 1 to 65535.


TargetPortRequired

public object TargetPort { get; set; }
  • Type: object

Property targetPort: The backend port, which is also the service port of the application.

Valid values: 1 to 65535.


HealthCheckFailTimesOptional

public object HealthCheckFailTimes { get; set; }
  • Type: object

Property healthCheckFailTimes: The number of consecutive failed health checks required for an application to be considered as unhealthy.

Valid values: 1 to 10. Default value: 5.


HealthCheckHostOptional

public object HealthCheckHost { get; set; }
  • Type: object

Property healthCheckHost: The domain name that is used for health checks.

This parameter is empty by default.


HealthCheckHttpCodeOptional

public object HealthCheckHttpCode { get; set; }
  • Type: object

Property healthCheckHttpCode: The HTTP status code returned for a successful health check.

Valid values: http_2xx (default)http_3xx


HealthCheckIntervalOptional

public object HealthCheckInterval { get; set; }
  • Type: object

Property healthCheckInterval: The interval between two consecutive health checks.

Unit: seconds. Valid values: 1 to 50. Default value: 5.


HealthCheckMethodOptional

public object HealthCheckMethod { get; set; }
  • Type: object

Property healthCheckMethod: 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.


HealthCheckPortOptional

public object HealthCheckPort { get; set; }
  • Type: object

Property healthCheckPort: The port used for health checks.

Valid values: 1 to 65535. Default value: 80.


HealthCheckSuccTimesOptional

public object HealthCheckSuccTimes { get; set; }
  • Type: object

Property healthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy.

Valid values: 1 to 10. Default value: 2.


HealthCheckTimeoutOptional

public object HealthCheckTimeout { get; set; }
  • Type: object

Property healthCheckTimeout: 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 to 100. Default value: 3.


HealthCheckTypeOptional

public object HealthCheckType { get; set; }
  • Type: object

Property healthCheckType: The health check type.

By default, this parameter is left empty. Valid values: l4: Layer 4 health check. l7: Layer 7 health check.


HealthCheckUriOptional

public object HealthCheckUri { get; set; }
  • Type: object

Property healthCheckUri: The URI used for health checks.

The URI must be 1 to 80 characters in length. Default value: "/".


RemarksOptional

public object Remarks { get; set; }
  • Type: object

Property remarks: The remarks.

This parameter is empty by default.