EdgeContainerAppProps
Properties for defining a EdgeContainerApp.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-edgecontainerapp
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.EdgeContainerAppProps {
EdgeContainerAppName: interface{},
ServicePort: interface{},
TargetPort: interface{},
HealthCheckFailTimes: interface{},
HealthCheckHost: interface{},
HealthCheckHttpCode: interface{},
HealthCheckInterval: interface{},
HealthCheckMethod: interface{},
HealthCheckPort: interface{},
HealthCheckSuccTimes: interface{},
HealthCheckTimeout: interface{},
HealthCheckType: interface{},
HealthCheckUri: interface{},
Remarks: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
EdgeContainerAppName | interface{} | Property edgeContainerAppName: The name of the application. |
ServicePort | interface{} | Property servicePort: The server port. |
TargetPort | interface{} | Property targetPort: The backend port, which is also the service port of the application. |
HealthCheckFailTimes | interface{} | Property healthCheckFailTimes: The number of consecutive failed health checks required for an application to be considered as unhealthy. |
HealthCheckHost | interface{} | Property healthCheckHost: The domain name that is used for health checks. |
HealthCheckHttpCode | interface{} | Property healthCheckHttpCode: The HTTP status code returned for a successful health check. |
HealthCheckInterval | interface{} | Property healthCheckInterval: The interval between two consecutive health checks. |
HealthCheckMethod | interface{} | Property healthCheckMethod: The HTTP request method for health checks. |
HealthCheckPort | interface{} | Property healthCheckPort: The port used for health checks. |
HealthCheckSuccTimes | interface{} | Property healthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy. |
HealthCheckTimeout | interface{} | Property healthCheckTimeout: The timeout period of a health check response. |
HealthCheckType | interface{} | Property healthCheckType: The health check type. |
HealthCheckUri | interface{} | Property healthCheckUri: The URI used for health checks. |
Remarks | interface{} | Property remarks: The remarks. |
EdgeContainerAppNameRequired
EdgeContainerAppName interface{}
- Type: interface{}
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
ServicePort interface{}
- Type: interface{}
Property servicePort: The server port.
Valid values: 1 to 65535.
TargetPortRequired
TargetPort interface{}
- Type: interface{}
Property targetPort: The backend port, which is also the service port of the application.
Valid values: 1 to 65535.
HealthCheckFailTimesOptional
HealthCheckFailTimes interface{}
- Type: interface{}
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
HealthCheckHost interface{}
- Type: interface{}
Property healthCheckHost: The domain name that is used for health checks.
This parameter is empty by default.
HealthCheckHttpCodeOptional
HealthCheckHttpCode interface{}
- Type: interface{}
Property healthCheckHttpCode: The HTTP status code returned for a successful health check.
Valid values: http_2xx (default)http_3xx
HealthCheckIntervalOptional
HealthCheckInterval interface{}
- Type: interface{}
Property healthCheckInterval: The interval between two consecutive health checks.
Unit: seconds. Valid values: 1 to 50. Default value: 5.
HealthCheckMethodOptional
HealthCheckMethod interface{}
- Type: interface{}
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
HealthCheckPort interface{}
- Type: interface{}
Property healthCheckPort: The port used for health checks.
Valid values: 1 to 65535. Default value: 80.
HealthCheckSuccTimesOptional
HealthCheckSuccTimes interface{}
- Type: interface{}
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
HealthCheckTimeout interface{}
- Type: interface{}
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
HealthCheckType interface{}
- Type: interface{}
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
HealthCheckUri interface{}
- Type: interface{}
Property healthCheckUri: The URI used for health checks.
The URI must be 1 to 80 characters in length. Default value: "/".
RemarksOptional
Remarks interface{}
- Type: interface{}
Property remarks: The remarks.
This parameter is empty by default.