Virtual Private Cloud API, gRPC: PrivateEndpointService.List
Retrieves the list of PrivateEndpoint resources in the specified folder.
gRPC request
rpc List (ListPrivateEndpointsRequest) returns (ListPrivateEndpointsResponse)
ListPrivateEndpointsRequest
{
// Includes only one of the fields `folder_id`
"folder_id": "string",
// end of the list of possible fields
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Field |
Description |
folder_id |
string ID of the folder to list private endpoints in. To get the folder ID use a Includes only one of the fields |
page_size |
int64 The maximum number of results per page to return. If the number of |
page_token |
string Page token. To get the next page of results, set |
filter |
string A filter expression that filters PrivateEndpoint listed in the response. The expression must specify:
|
ListPrivateEndpointsResponse
{
"private_endpoints": [
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"network_id": "string",
"status": "Status",
"address": {
"subnet_id": "string",
"address": "string",
"address_id": "string"
},
"dns_options": {
"private_dns_records_enabled": "bool"
},
// Includes only one of the fields `object_storage`
"object_storage": "ObjectStorage"
// end of the list of possible fields
}
],
"next_page_token": "string"
}
Field |
Description |
private_endpoints[] |
List of private endpoints. |
next_page_token |
string Token for getting the next page of the list. If the number of results is Each subsequent page will have its own |
PrivateEndpoint
Field |
Description |
id |
string ID of the private endpoint. Generated at creation time. |
folder_id |
string ID of the folder that the private endpoint belongs to. |
created_at |
Creation timestamp. |
name |
string Name of the private endpoint. |
description |
string Description of the private endpoint. 0-256 characters long. |
labels |
object (map<string, string>) Private endpoint labels as |
network_id |
string ID of the network that the private endpoint belongs to. |
status |
enum Status Status of the private endpoint.
|
address |
Private endpoint ip address details. |
dns_options |
Private endpoint dns options. |
object_storage |
Yandex Cloud Object Storage. Includes only one of the fields Service to connect with via private endpoint. |
EndpointAddress
Private endpoint ip address details.
Field |
Description |
subnet_id |
string ID of the subnet that the private endpoint address belongs to. |
address |
string IP address of the private endpoint. |
address_id |
string ID of the private endpoint address. |
DnsOptions
Field |
Description |
private_dns_records_enabled |
bool If enabled - vpc will create private dns records for specified service. |
ObjectStorage
Yandex Cloud Object Storage.
Field |
Description |
Empty |