Queries information about contiguous Elastic IP Address (EIP) groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DescribeEipSegment |
get |
*SegmentAddress
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId as the ClientToken. The RequestId may be different for each API request. |
02fb3da4-130e-11e9-8e44-001sdfg |
| RegionId |
string |
Yes |
The region ID of the contiguous EIP group. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
| SegmentInstanceId |
string |
No |
The instance ID of the contiguous EIP group to query. If you do not specify this parameter, information about all contiguous EIP groups in the specified region is returned. |
eipsg-2zett8ba055tbsxme**** |
| PageNumber |
integer |
No |
The page number of the list. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page for a paged query. Maximum value: 50. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| PageSize |
integer |
The number of entries per page in a paging query. |
10 |
| RequestId |
string |
The request ID. |
F7A6301A-64BA-41EC-8284-8F4838C15D1F |
| PageNumber |
integer |
The page number of the list. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
10 |
| EipSegments |
object |
||
| EipSegment |
array<object> |
The details of the contiguous EIP group. |
|
|
object |
The details of the contiguous EIP group. |
||
| CreationTime |
string |
The time when the contiguous EIP group was created. The time is displayed in ISO 8601 standard in UTC+0 in the yyyy-MM-ddTHH:mm:ssZ format. |
2020-03-06T12:30:07Z |
| Status |
string |
The status of the contiguous EIP group. Valid values:
|
Allocated |
| Descritpion |
string |
The description of the contiguous EIP group. |
MyEipSegment |
| InstanceId |
string |
The instance ID of the contiguous EIP group. |
eipsg-2zett8ba055tbsxme**** |
| IpCount |
string |
The number of IP addresses in the contiguous EIP group. |
16 |
| Name |
string |
The name of the contiguous EIP group. |
MyEipSegment |
| Segment |
string |
The CIDR block and subnet mask of the contiguous EIP group. |
161.xx.xx.32/28 |
| RegionId |
string |
The region ID of the contiguous EIP group. |
cn-hangzhou |
| Zone |
string |
The zone of the contiguous EIP group. |
cn-hangzhou-a |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "F7A6301A-64BA-41EC-8284-8F4838C15D1F",
"PageNumber": 1,
"TotalCount": 10,
"EipSegments": {
"EipSegment": [
{
"CreationTime": "2020-03-06T12:30:07Z",
"Status": "Allocated",
"Descritpion": "MyEipSegment",
"InstanceId": "eipsg-2zett8ba055tbsxme****",
"IpCount": "16",
"Name": "MyEipSegment",
"Segment": "161.xx.xx.32/28",
"RegionId": "cn-hangzhou",
"Zone": "cn-hangzhou-a"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.