Updated on 2023-12-25 GMT+08:00

Querying EIP Type

Function

This API is used to query the type of an EIP.

URI

GET /v2/{project_id}/publicip_types

Table 1 Path parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Request Parameters

None

Response Parameters

None

Example Request

None

Example Response

Status code: 200

Normal response to GET and PUT operations

{
  "publicip_types" : [ {
    "id" : "143fe300-78bc-4e2b-ae4b-d7a2ae7f2197",
    "type" : "5_bgp"
  }, {
    "id" : "71d56cb8-e86e-403b-8ace-8551ff075986",
    "type" : "5_test"
  }, {
    "id" : "985579ea-be40-409e-82b0-68d8acc10865",
    "type" : "5_union"
  }, {
    "id" : "caaef6af-6662-45b0-bd55-519673265a42",
    "type" : "5_telcom"
  } ]
}

Status Code

See Status Codes.

Error Code

See Error Codes.