Virtual Private Cloud API, REST: PrivateEndpoint.List
Retrieves the list of PrivateEndpoint resources in the specified folder.
HTTP request
GET https://vpc.api.cloud.yandex.net/vpc/v1/endpoints
Query parameters
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 |
string (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:
|
Response
HTTP Code: 200 - OK
{
"privateEndpoints": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"networkId": "string",
"status": "string",
"address": {
"subnetId": "string",
"address": "string",
"addressId": "string"
},
"dnsOptions": {
"privateDnsRecordsEnabled": "boolean"
},
// Includes only one of the fields `objectStorage`
"objectStorage": "object"
// 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 |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
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 |
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 |
object 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 |
boolean If enabled - vpc will create private dns records for specified service. |