Virtual Private Cloud API, gRPC: SubnetService.ListUsedAddresses
Written by
Updated at November 26, 2024
List used addresses in specified subnet.
gRPC request
rpc ListUsedAddresses (ListUsedAddressesRequest) returns (ListUsedAddressesResponse)
ListUsedAddressesRequest
{
"subnet_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
subnet_id |
string Required field. |
page_size |
int64 |
page_token |
string |
filter |
string |
ListUsedAddressesResponse
{
"addresses": [
{
"address": "string",
"ip_version": "IpVersion",
"references": [
{
"referrer": {
"type": "string",
"id": "string"
},
"type": "Type"
}
]
}
],
"next_page_token": "string"
}
Field |
Description |
addresses[] |
|
next_page_token |
string |
UsedAddress
Field |
Description |
address |
string |
ip_version |
enum IpVersion
|
references[] |
Reference
Field |
Description |
referrer |
|
type |
enum Type
|
Referrer
Field |
Description |
type |
string
|
id |
string |