Virtual Private Cloud API, REST: Subnet.ListUsedAddresses
Статья создана
Обновлена 26 ноября 2024 г.
List used addresses in specified subnet.
HTTP request
GET https://vpc.api.cloud.yandex.net/vpc/v1/subnets/{subnetId}/addresses
Path parameters
Field |
Description |
subnetId |
string Required field. |
Query parameters
Field |
Description |
pageSize |
string (int64) |
pageToken |
string |
filter |
string |
Response
HTTP Code: 200 - OK
{
"addresses": [
{
"address": "string",
"ipVersion": "string",
"references": [
{
"referrer": {
"type": "string",
"id": "string"
},
"type": "string"
}
]
}
],
"nextPageToken": "string"
}
Field |
Description |
addresses[] |
|
nextPageToken |
string |
UsedAddress
Field |
Description |
address |
string |
ipVersion |
enum (IpVersion)
|
references[] |
Reference
Field |
Description |
referrer |
|
type |
enum (Type)
|
Referrer
Field |
Description |
type |
string
|
id |
string |