EndpointGroupProps
Properties for defining a EndpointGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-endpointgroup
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkga"
&alicloudroscdkga.EndpointGroupProps {
AcceleratorId: interface{},
EndpointConfigurations: interface{},
EndpointGroupRegion: interface{},
ListenerId: interface{},
Description: interface{},
EndpointGroupType: interface{},
EndpointIpVersion: interface{},
EndpointProtocolVersion: interface{},
EndpointRequestProtocol: interface{},
HealthCheckEnabled: interface{},
HealthCheckHost: interface{},
HealthCheckIntervalSeconds: interface{},
HealthCheckPath: interface{},
HealthCheckPort: interface{},
HealthCheckProtocol: interface{},
Name: interface{},
PortOverrides: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkga.RosEndpointGroup.TagsProperty,
ThresholdCount: interface{},
TrafficPercentage: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
AcceleratorId | interface{} | Property acceleratorId: The ID of the Global Accelerator instance with which the endpoint group will be associated. |
EndpointConfigurations | interface{} | Property endpointConfigurations:. |
EndpointGroupRegion | interface{} | Property endpointGroupRegion: The region ID of the endpoint group. |
ListenerId | interface{} | Property listenerId: The ID of the listener to be associated with the endpoint group. |
Description | interface{} | Property description: The description of the endpoint group. |
EndpointGroupType | interface{} | Property endpointGroupType: The type of the endpoint group. |
EndpointIpVersion | interface{} | Property endpointIpVersion: The IP address protocol version of the backend service. |
EndpointProtocolVersion | interface{} | Property endpointProtocolVersion: The protocol version of the backend service. |
EndpointRequestProtocol | interface{} | Property endpointRequestProtocol: The protocol used by the backend service. |
HealthCheckEnabled | interface{} | Property healthCheckEnabled: Specifies whether to enable the health check feature. |
HealthCheckHost | interface{} | Property healthCheckHost: The domain name that is used for health checks. |
HealthCheckIntervalSeconds | interface{} | Property healthCheckIntervalSeconds: The interval between two consecutive health checks. |
HealthCheckPath | interface{} | Property healthCheckPath: The path set as the destination on the targets for health checks. |
HealthCheckPort | interface{} | Property healthCheckPort: The port that is used to connect with the targets for health checks. |
HealthCheckProtocol | interface{} | Property healthCheckProtocol: The protocol that is used to connect with the targets for health checks. |
Name | interface{} | Property name: The name of the endpoint group. |
PortOverrides | interface{} | Property portOverrides: The port mapping relationship of the endpoint group. |
Tags | *[]TagsProperty | Property tags: Tags to attach to endpoint group. |
ThresholdCount | interface{} | Property thresholdCount: The number of consecutive health check failures that must occur before a healthy endpoint is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint is considered healthy. |
TrafficPercentage | interface{} | Property trafficPercentage: The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups. |
AcceleratorIdRequired
AcceleratorId interface{}
- Type: interface{}
Property acceleratorId: The ID of the Global Accelerator instance with which the endpoint group will be associated.
EndpointConfigurationsRequired
EndpointConfigurations interface{}
- Type: interface{}
Property endpointConfigurations:.
EndpointGroupRegionRequired
EndpointGroupRegion interface{}
- Type: interface{}
Property endpointGroupRegion: The region ID of the endpoint group.
ListenerIdRequired
ListenerId interface{}
- Type: interface{}
Property listenerId: The ID of the listener to be associated with the endpoint group.
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: The description of the endpoint group.
EndpointGroupTypeOptional
EndpointGroupType interface{}
- Type: interface{}
Property endpointGroupType: The type of the endpoint group.
Valid values: default: The endpoint group is a default endpoint group. This is the default value. virtual: The endpoint group is a virtual endpoint group. Note Only HTTP and HTTPS listeners support virtual endpoint groups.
EndpointIpVersionOptional
EndpointIpVersion interface{}
- Type: interface{}
Property endpointIpVersion: The IP address protocol version of the backend service.
Valid values: IPv4 IPv6 ProtocolAffinity
EndpointProtocolVersionOptional
EndpointProtocolVersion interface{}
- Type: interface{}
Property endpointProtocolVersion: The protocol version of the backend service.
Valid values: HTTP1.1 HTTP2 Note This parameter is valid only when the listener uses HTTPS.
EndpointRequestProtocolOptional
EndpointRequestProtocol interface{}
- Type: interface{}
Property endpointRequestProtocol: The protocol used by the backend service.
Valid values: HTTP: This is the default value. HTTPS Note: You can set this parameter only when the listener that is associated with the endpoint group uses HTTP or HTTPS. For an HTTP listener, the backend service protocol must be HTTP.
HealthCheckEnabledOptional
HealthCheckEnabled interface{}
- Type: interface{}
Property healthCheckEnabled: Specifies whether to enable the health check feature.
HealthCheckHostOptional
HealthCheckHost interface{}
- Type: interface{}
Property healthCheckHost: The domain name that is used for health checks.
HealthCheckIntervalSecondsOptional
HealthCheckIntervalSeconds interface{}
- Type: interface{}
Property healthCheckIntervalSeconds: The interval between two consecutive health checks.
Unit: seconds.
HealthCheckPathOptional
HealthCheckPath interface{}
- Type: interface{}
Property healthCheckPath: The path set as the destination on the targets for health checks.
HealthCheckPortOptional
HealthCheckPort interface{}
- Type: interface{}
Property healthCheckPort: The port that is used to connect with the targets for health checks.
HealthCheckProtocolOptional
HealthCheckProtocol interface{}
- Type: interface{}
Property healthCheckProtocol: The protocol that is used to connect with the targets for health checks.
tcp: TCP protocol http: HTTP protocol https: HTTPS protocol
NameOptional
Name interface{}
- Type: interface{}
Property name: The name of the endpoint group.
PortOverridesOptional
PortOverrides interface{}
- Type: interface{}
Property portOverrides: The port mapping relationship of the endpoint group.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to endpoint group.
Max support 20 tags to add during create endpoint group. Each tag with two properties Key and Value, and Key is required.
ThresholdCountOptional
ThresholdCount interface{}
- Type: interface{}
Property thresholdCount: The number of consecutive health check failures that must occur before a healthy endpoint is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint is considered healthy.
Valid values: 2 to 10. Default value: 3.
TrafficPercentageOptional
TrafficPercentage interface{}
- Type: interface{}
Property trafficPercentage: The weight of the endpoint group when the corresponding listener is associated with multiple endpoint groups.