功能介紹
指定IP的ID查詢私有IP。
調(diào)試
您可以在API Explorer中調(diào)試該接口。
請求參數(shù)
無
請求示例
GET https://{Endpoint}/v1/{project_id}/privateips/d600542a-b231-45ed-af05-e9930cb14f78
響應(yīng)參數(shù)
|
名稱 |
參數(shù)類型 |
說明 |
|---|---|---|
|
status |
String |
|
|
id |
String |
私有IP標(biāo)識 |
|
subnet_id |
String |
分配IP的子網(wǎng)標(biāo)識 如果您使用管理控制臺,此值即為子網(wǎng)詳情中的“網(wǎng)絡(luò)ID”參數(shù)值。 |
|
tenant_id |
String |
項目ID |
|
device_owner |
String |
|
|
ip_address |
String |
申請到的私有IP |
響應(yīng)示例
{
"privateip":
{
"status": "DOWN",
"id": "d600542a-b231-45ed-af05-e9930cb14f78",
"subnet_id": "531dec0f-3116-411b-a21b-e612e42349fd",
"tenant_id": "8b7e35ad379141fc9df3e178bd64f55c",
"device_owner": "",
"ip_address": "192.168.1.11"
}
}
狀態(tài)碼
請參見狀態(tài)碼。
錯誤碼
請參考錯誤碼。
