Mencantumkan kelompok titik akhir.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListEndpointGroups |
list |
*EndpointGroup
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah tempat instans Akselerator Global di-deploy. Tetapkan nilai ke cn-hangzhou. |
cn-hangzhou |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman. Nilai maksimum: 50. Nilai default: 10. |
10 |
| AcceleratorId |
string |
Yes |
ID instans Akselerator Global. |
ga-bp1odcab8tmno0hdq**** |
| ListenerId |
string |
No |
ID Pendengar daftar. |
lsr-bp1bpn0kn908w4nbw**** |
| EndpointGroupType |
string |
No |
Tipe kelompok titik akhir. Nilai valid:
|
virtual |
| AccessLogSwitch |
string |
No |
Apakah akan mengaktifkan Log akses. Nilai valid:
|
on |
| EndpointGroupId |
string |
No |
ID kelompok titik akhir. |
epg-bp16jdc00bhe97sr5**** |
| Tag |
array<object> |
No |
Tag yang digunakan untuk memfilter kelompok titik akhir. Anda dapat menentukan hingga 20 tag. |
|
|
object |
No |
A tag. |
||
| Key |
string |
No |
The tag key. The tag key cannot be an empty string. The tag key can be up to 64 characters long and cannot start with |
test-key |
| Value |
string |
No |
The tag value. The tag value can be an empty string. The tag value can be up to 128 characters long and cannot start with |
test-value |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| RequestId |
string |
The request ID. |
A052D49E-CCC2-41DB-816C-DC3381503194 |
| PageNumber |
integer |
The page number. |
1 |
| EndpointGroups |
array<object> |
The list of endpoint groups. |
|
|
array<object> |
The list of endpoint groups. |
||
| EndpointGroupId |
string |
The ID of the endpoint group. |
epg-bp16jdc00bhe97sr5**** |
| EndpointGroupIpList |
array |
A list of public egress IP addresses of the endpoint group. Penting
For endpoint groups connected to private backend services, the console shows only the private source IP addresses, not the public ones. If the network connection type of a backend service changes (for example, from private to public), monitor the source IP addresses and update the backend service's access control list (ACL). |
|
|
string |
A public egress IP address of the endpoint group. |
47.1.XX.XX |
|
| EndpointGroupUnconfirmedIpList |
array |
The list of new IP addresses in the endpoint group that require confirmation after a Global Accelerator instance is upgraded. |
|
|
string |
A new IP address in the endpoint group that requires confirmation after a Global Accelerator instance is upgraded. |
47.1.XX.XX |
|
| State |
string |
The state of the endpoint group.
|
active |
| HealthCheckPath |
string |
The health check path. |
/healthcheck |
| EndpointGroupRegion |
string |
The ID of the region where the endpoint group is deployed. |
cn-hangzhou |
| HealthCheckIntervalSeconds |
integer |
The health check interval, in seconds. |
3 |
| TrafficPercentage |
integer |
The percentage of traffic routed to the endpoint group. This parameter applies only if a listener is associated with multiple endpoint groups. |
100 |
| HealthCheckProtocol |
string |
The protocol used for health checks.
|
tcp |
| ThresholdCount |
integer |
The number of consecutive failed health checks required to mark an endpoint as unhealthy. |
3 |
| ListenerId |
string |
The ID of the listener. |
lsr-bp1bpn0kn908w4nbw**** |
| AcceleratorId |
string |
The ID of the Global Accelerator instance. |
ga-bp1odcab8tmno0hdq**** |
| EndpointConfigurations |
array<object> |
A list of endpoint configurations. |
|
|
object |
An endpoint configuration. |
||
| Type |
string |
The type of endpoint. Valid values:
|
Ip |
| EnableClientIPPreservation |
boolean |
Indicates whether client IP preservation is enabled. Valid values:
|
false |
| Weight |
integer |
The weight of the endpoint. |
20 |
| ProbeProtocol |
string |
The protocol used for latency monitoring probes. Valid values:
|
tcp |
| Endpoint |
string |
The IP address, domain name, or instance ID of the endpoint. |
47.1.XX.XX |
| EnableProxyProtocol |
boolean |
Indicates whether the proxy protocol is used to preserve client IP addresses. Valid values:
|
|
| ProbePort |
integer |
The port used for latency monitoring probes. |
80 |
| EndpointId |
string |
The ID of the endpoint. |
ep-bp1d2utp8qqe2a44t**** |
| SubAddress |
string |
The private IP address of the elastic network interface. |
172.168.XX.XX |
| VpcId |
string |
The ID of the VPC. |
vpc-8vbhucmd5b2q2fpqqu**** |
| VSwitchIds |
array |
A list of vSwitches in the VPC. |
|
|
string |
The ID of the vSwitch. |
vsw-hp3xwc2aebg2u30ln**** |
|
| Provider |
string |
BAILIAN |
|
| ApiKeys |
array |
||
|
string |
sk-******* |
||
| PortOverrides |
array<object> |
The port mappings. |
|
|
object |
The port mappings. |
||
| ListenerPort |
integer |
The listener port. |
443 |
| EndpointPort |
integer |
The endpoint port. |
80 |
| ForwardingRuleIds |
array |
The IDs of forwarding rules associated with the endpoint group. |
|
|
string |
The ID of a forwarding rule associated with the endpoint group. |
frule-bp19a3t3yzr21q3**** |
|
| EndpointGroupType |
string |
The type of the endpoint group. Valid values:
|
default |
| EndpointRequestProtocol |
string |
The protocol of the backend service. Valid values:
|
HTTP |
| EndpointProtocolVersion |
string |
The version of the backend service protocol. Valid values:
|
HTTP1.1 |
| Description |
string |
The description of the endpoint group. |
group1 |
| Name |
string |
The name of the endpoint group. |
group1 |
| HealthCheckPort |
integer |
The port used for health checks. |
10 |
| HealthCheckEnabled |
boolean |
Specifies whether to enable health checks.
|
true |
| ServiceId |
string |
The ID of the service that manages the instance. Catatan
This parameter is returned only if ServiceManaged is true. |
ALB |
| ServiceManaged |
boolean |
Specifies whether the instance is managed. Valid values:
|
true |
| ServiceManagedInfos |
array<object> |
The actions that you can perform on the managed instance. Catatan
|
|
|
object |
The actions that you can perform on the managed instance. |
||
| Action |
string |
The name of the action on the managed instance. Valid values:
|
Update |
| ChildType |
string |
The type of the child resource. Valid values:
Catatan
This parameter is returned only if Action is set to CreateChild. |
Listener |
| IsManaged |
boolean |
Indicates whether the action is managed. Valid values:
|
false |
| Tags |
array<object> |
The tags attached to the endpoint group. |
|
|
object |
A tag of the endpoint group. |
||
| Key |
string |
The tag key. |
test-key |
| Value |
string |
The tag value. |
test-value |
| HealthCheckHost |
string |
The domain name used for health checks. |
www.taobao.com |
| EndpointIpVersion |
string |
The IP protocol of the backend service. Valid values:
|
IPv4 |
| EndpointPrivateIpList |
array<object> |
A list of private IP addresses of the endpoints. |
|
|
object |
|||
| PrivateIp |
string |
The private IP address. |
172.19.115.37 |
| VSwitchId |
string |
The ID of the vSwitch in the VPC. |
gsw-0jl6tmriqep1ga*** |
| CIDR |
string |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 1,
"PageSize": 10,
"RequestId": "A052D49E-CCC2-41DB-816C-DC3381503194\t",
"PageNumber": 1,
"EndpointGroups": [
{
"EndpointGroupId": "epg-bp16jdc00bhe97sr5****",
"EndpointGroupIpList": [
"47.1.XX.XX"
],
"EndpointGroupUnconfirmedIpList": [
"47.1.XX.XX"
],
"State": "active",
"HealthCheckPath": "/healthcheck",
"EndpointGroupRegion": "cn-hangzhou",
"HealthCheckIntervalSeconds": 3,
"TrafficPercentage": 100,
"HealthCheckProtocol": "tcp",
"ThresholdCount": 3,
"ListenerId": "lsr-bp1bpn0kn908w4nbw****",
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"EndpointConfigurations": [
{
"Type": "Ip",
"EnableClientIPPreservation": false,
"Weight": 20,
"ProbeProtocol": "tcp",
"Endpoint": "47.1.XX.XX",
"EnableProxyProtocol": false,
"ProbePort": 80,
"EndpointId": "ep-bp1d2utp8qqe2a44t****",
"SubAddress": "172.168.XX.XX",
"VpcId": "vpc-8vbhucmd5b2q2fpqqu****",
"VSwitchIds": [
"vsw-hp3xwc2aebg2u30ln****"
],
"Provider": "BAILIAN",
"ApiKeys": [
"sk-*******"
]
}
],
"PortOverrides": [
{
"ListenerPort": 443,
"EndpointPort": 80
}
],
"ForwardingRuleIds": [
"frule-bp19a3t3yzr21q3****"
],
"EndpointGroupType": "default",
"EndpointRequestProtocol": "HTTP",
"EndpointProtocolVersion": "HTTP1.1",
"Description": "group1",
"Name": "group1",
"HealthCheckPort": 10,
"HealthCheckEnabled": true,
"ServiceId": "ALB",
"ServiceManaged": true,
"ServiceManagedInfos": [
{
"Action": "Update",
"ChildType": "Listener",
"IsManaged": false
}
],
"Tags": [
{
"Key": "test-key",
"Value": "test-value"
}
],
"HealthCheckHost": "www.taobao.com",
"EndpointIpVersion": "IPv4",
"EndpointPrivateIpList": [
{
"PrivateIp": "172.19.115.37",
"VSwitchId": "gsw-0jl6tmriqep1ga***",
"CIDR": ""
}
]
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | No permissions. | |
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.