查询指定终端节点组信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ga:DescribeEndpointGroup |
get |
*EndpointGroup
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
全球加速实例所属地域 ID,仅取值cn-hangzhou。 |
cn-hangzhou |
| EndpointGroupId |
string |
是 |
要查询的终端节点组的 ID。 |
epg-bp14sz7ftcwwjgrdm**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回信息列表。 |
||
| HealthCheckIntervalSeconds |
integer |
健康检查的时间间隔,单位为秒。 |
3 |
| TrafficPercentage |
integer |
监听实例有多个终端节点组时,配置到不同终端节点组的流量比例。 |
100 |
| EndpointGroupId |
string |
终端节点组 ID。 |
epg-bp14sz7ftcwwjgrdm**** |
| Description |
string |
终端节点组的描述信息。 |
group1 |
| EndpointGroupIpList |
array |
终端节点组活跃的终端节点 IP 列表。 |
|
|
string |
终端节点组活跃的终端节点 IP 列表。 |
101.XX.XX.22 |
|
| EndpointGroupUnconfirmedIpList |
array |
全球加速实例升级后新增待确认的终端节点组 IP 列表。 |
|
|
string |
全球加速实例升级后新增待确认的终端节点组 IP 列表。 |
101.XX.XX.22 |
|
| RequestId |
string |
请求 ID。 |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
| HealthCheckPath |
string |
健康检查路径。 |
/healthcheck |
| ThresholdCount |
integer |
健康检查判定终端节点为不健康的次数。 |
3 |
| Name |
string |
终端节点组的名称。 |
group1 |
| EndpointGroupRegion |
string |
终端节点组所属的地域 ID。 |
cn-hangzhou |
| State |
string |
终端节点组的状态。
|
active |
| HealthCheckProtocol |
string |
健康检查的协议。
|
tcp |
| HealthCheckPort |
integer |
健康检查的端口。 |
20 |
| EndpointConfigurations |
array<object> |
终端节点配置信息。 |
|
|
object |
终端节点配置信息。 |
||
| Type |
string |
终端节点类型。
|
Ip |
| EnableClientIPPreservation |
boolean |
是否开启了自动获取方式开启保持客户端源 IP 功能。
|
false |
| Weight |
integer |
终端节点的权重。 |
255 |
| ProbeProtocol |
string |
时延探测协议。
|
tcp |
| Endpoint |
string |
终端节点的 IP、域名或实例 ID。 |
120.XX.XX.21 |
| EnableProxyProtocol |
boolean |
是否使用 ProxyProtocol 方式开启了保持客户端源 IP 功能。
|
false |
| ProbePort |
integer |
延时监控的探测端口。 |
80 |
| SubAddress |
string |
弹性网卡的私网 IP 地址。 |
172.168.XX.XX |
| VpcId |
string |
专有网络 ID。 |
vpc-hp30gtnxkfxj1l2xt**** |
| VSwitchIds |
array |
VPC 下的交换机列表。 |
|
|
string |
虚拟交换机 ID。 |
vsw-bp1nx4sxxe1nnr1ja**** |
|
| PortOverrides |
array<object> |
端口映射关系。 |
|
|
object |
端口映射关系。 |
||
| ListenerPort |
integer |
监听端口。 |
443 |
| EndpointPort |
integer |
终端节点端口。 |
80 |
| EndpointRequestProtocol |
string |
后端服务协议。
|
HTTP |
| EndpointProtocolVersion |
string |
后端服务协议版本。
|
|
| EndpointGroupType |
string |
终端节点组类型。
|
default |
| ForwardingRuleIds |
array |
终端节点组关联的转发策略 ID。 |
|
|
string |
终端节点组关联的转发策略 ID。 |
frule-bp19a3t3yzr21q3**** |
|
| AcceleratorId |
string |
全球加速实例 ID。 |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
监听实例 ID。 |
lsr-bp1bpn0kn908w4nbw**** |
| SlsRegion |
string |
SLS 地域。 |
cn-hangzhou |
| SlsProjectName |
string |
SLS 项目名称。 |
pn-01 |
| SlsLogStoreName |
string |
SLS 日志库名称。 |
lsn-01 |
| AccessLogSwitch |
string |
日志绑定状态。
|
on |
| EnableAccessLog |
boolean |
是否开启了访问日志。
|
true |
| HealthCheckEnabled |
boolean |
是否开启了健康检查。
|
true |
| ServiceId |
string |
托管实例所属的服务方 ID。 说明
仅在 ServiceManaged 参数为 True 时有效。 |
ALB |
| ServiceManaged |
boolean |
是否为托管实例。
|
true |
| ServiceManagedInfos |
array<object> |
用户在此托管实例下可执行的动作策略列表。 说明
|
|
|
object |
用户可在该托管实例执行的动作策略列表。 |
||
| Action |
string |
托管策略动作名称。
|
Update |
| ChildType |
string |
子资源类型。
说明
仅在 Action 参数为 CreateChild 时有效。 |
Listener |
| IsManaged |
boolean |
托管策略动作是否被托管。
|
false |
| Tags |
array<object> |
终端节点组的标签。 |
|
|
object |
终端节点组的标签。 |
||
| Key |
string |
终端节点组的标签键。 |
test-key |
| Value |
string |
终端节点组的标签值。 |
test-value |
| HealthCheckHost |
string |
示例
正常返回示例
JSON格式
{
"HealthCheckIntervalSeconds": 3,
"TrafficPercentage": 100,
"EndpointGroupId": "epg-bp14sz7ftcwwjgrdm****",
"Description": "group1",
"EndpointGroupIpList": [
"101.XX.XX.22"
],
"EndpointGroupUnconfirmedIpList": [
"101.XX.XX.22"
],
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8\t",
"HealthCheckPath": "/healthcheck",
"ThresholdCount": 3,
"Name": "group1",
"EndpointGroupRegion": "cn-hangzhou",
"State": "active",
"HealthCheckProtocol": "tcp",
"HealthCheckPort": 20,
"EndpointConfigurations": [
{
"Type": "Ip",
"EnableClientIPPreservation": false,
"Weight": 255,
"ProbeProtocol": "tcp",
"Endpoint": "120.XX.XX.21",
"EnableProxyProtocol": false,
"ProbePort": 80,
"SubAddress": "172.168.XX.XX",
"VpcId": "vpc-hp30gtnxkfxj1l2xt****",
"VSwitchIds": [
"vsw-bp1nx4sxxe1nnr1ja****"
]
}
],
"PortOverrides": [
{
"ListenerPort": 443,
"EndpointPort": 80
}
],
"EndpointRequestProtocol": "HTTP",
"EndpointProtocolVersion": "",
"EndpointGroupType": "default",
"ForwardingRuleIds": [
"frule-bp19a3t3yzr21q3****"
],
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"ListenerId": "lsr-bp1bpn0kn908w4nbw****",
"SlsRegion": "cn-hangzhou",
"SlsProjectName": "pn-01",
"SlsLogStoreName": "lsn-01",
"AccessLogSwitch": "on",
"EnableAccessLog": true,
"HealthCheckEnabled": true,
"ServiceId": "ALB",
"ServiceManaged": true,
"ServiceManagedInfos": [
{
"Action": "Update",
"ChildType": "Listener",
"IsManaged": false
}
],
"Tags": [
{
"Key": "test-key",
"Value": "test-value"
}
],
"HealthCheckHost": ""
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | 处理请求时出现错误,请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。