Updated on 2025-11-19 GMT+08:00

Query Bound EIPs

Function

Query bound EIPs.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

URI

GET /v1/{project_id}/dev-servers/{id}/publicips

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

id

Yes

String

Definition: DevServer ID

Constraints: Mandatory

Range: 1 to 64 characters

Default Value: N/A

project_id

Yes

String

Definition: Project ID. For details, see Obtaining a Project ID and Name.

Constraints: The value can contain 1 to 64 characters. Letters, digits, and hyphens (-) are allowed.

Range: N/A

Default Value: N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response header parameters

Parameter

Type

Description

X-Request-Id

String

Link trace ID.

Table 3 Response body parameters

Parameter

Type

Description

public_ips

Array of ServerPublicIp objects

Definition: Array of EIP information.

Table 4 ServerPublicIp

Parameter

Type

Description

id

String

Definition: EIP ID.

Constraints: Mandatory

Range: 1 to 64 characters

Default Value: N/A

address

String

Definition: EIP IP address.

Constraints: Mandatory

Range: 1 to 64 characters in standard IPv4 format.

Default Value: N/A

Example Requests

GET https://{endpoint}/v1/{project_id}/dev-servers/{id}/publicips

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.