Virtual Private Cloud API, gRPC: SubnetService.ListUsedAddresses
Статья создана
Обновлена 17 октября 2024 г.
List used addresses in specified subnet.
gRPC request
rpc ListUsedAddresses (ListUsedAddressesRequest) returns (ListUsedAddressesResponse)
ListUsedAddressesRequest
{
"subnetId": "string",
"pageSize": "int64",
"pageToken": "string",
"filter": "string"
}
Field |
Description |
subnetId |
string Required field. |
pageSize |
int64 |
pageToken |
string |
filter |
string |
ListUsedAddressesResponse
{
"addresses": [
{
"address": "string",
"ipVersion": "IpVersion",
"references": [
{
"referrer": {
"type": "string",
"id": "string"
},
"type": "Type"
}
]
}
],
"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 |