Skip to content

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{},
    EndpointRequestProtocol: interface{},
    HealthCheckEnabled: interface{},
    HealthCheckIntervalSeconds: interface{},
    HealthCheckPath: interface{},
    HealthCheckPort: interface{},
    HealthCheckProtocol: interface{},
    Name: interface{},
    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.
EndpointRequestProtocol interface{} Property endpointRequestProtocol: The protocol used by the backend service.
HealthCheckEnabled interface{} Property healthCheckEnabled: Specifies whether to enable the health check feature.
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.
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.


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.


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.


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.