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 `folderId`
"folderId": "string",
// end of the list of possible fields
"pageSize": "int64",
"pageToken": "string",
"filter": "string"
}
Field |
Description |
folderId |
string ID of the folder to list private endpoints in. To get the folder ID use a Includes only one of the fields |
pageSize |
int64 The maximum number of results per page to return. If the number of |
pageToken |
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
{
"privateEndpoints": [
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"networkId": "string",
"status": "Status",
"address": {
"subnetId": "string",
"address": "string",
"addressId": "string"
},
"dnsOptions": {
"privateDnsRecordsEnabled": "bool"
},
// Includes only one of the fields `objectStorage`
"objectStorage": "ObjectStorage"
// end of the list of possible fields
}
],
"nextPageToken": "string"
}
Field |
Description |
privateEndpoints[] |
List of private endpoints. |
nextPageToken |
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. |
folderId |
string ID of the folder that the private endpoint belongs to. |
createdAt |
Creation timestamp. |
name |
string Name of the private endpoint. |
description |
string Description of the private endpoint. 0-256 characters long. |
labels |
string Private endpoint labels as |
networkId |
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. |
dnsOptions |
Private endpoint dns options. |
objectStorage |
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 |
subnetId |
string ID of the subnet that the private endpoint address belongs to. |
address |
string IP address of the private endpoint. |
addressId |
string ID of the private endpoint address. |
DnsOptions
Field |
Description |
privateDnsRecordsEnabled |
bool If enabled - vpc will create private dns records for specified service. |
ObjectStorage
Yandex Cloud Object Storage.
Field |
Description |
Empty |