Virtual Private Cloud API, REST: PrivateEndpoint.Get
Returns the specified Private Endpoint resource.
To get the list of all available PrivateEndpoint resources, make a List
request.
HTTP request
GET https://vpc.api.cloud.yandex.net/vpc/v1/endpoints/{privateEndpointId}
Path parameters
Field |
Description |
privateEndpointId |
string Required field. ID of the PrivateEndpoint resource to return. To get PrivateEndpoint resource ID make a PrivateEndpointService.List |
Response
HTTP Code: 200 - OK
{
"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
}
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. |