yandex_vpc_private_endpoint (Data Source)
Статья создана
Обновлена 11 сентября 2025 г.
Get information about a Yandex VPC Private Endpoint. For more information, see Yandex Cloud VPC.
This data source is used to define VPC Private Endpoint that can be used by other resources.
Важно
One of private_endpoint_id or name should be specified.
Example usage
//
// Get information about existing VPC Private Endpoint.
//
data "yandex_vpc_private_endpoint" "pe" {
private_endpoint_id = "my-private-endpoint-id"
}
Schema
Optional
name(String) The resource name.object_storage(Block List) Private endpoint for Object Storage. (see below for nested schema)private_endpoint_id(String) ID of the private endpoint.
Read-Only
created_at(String) The creation timestamp of the resource.description(String) The resource description.dns_options(List of Object) (see below for nested schema)endpoint_address(List of Object) (see below for nested schema)folder_id(String) The folder identifier that resource belongs to. If it is not provided, the default providerfolder-idis used.id(String) The ID of this resource.labels(Map of String) A set of key/value label pairs which assigned to resource.network_id(String) ID of the network which private endpoint belongs to.status(String) Status of the private endpoint.
Nested Schema for object_storage
Nested Schema for dns_options
Read-Only:
private_dns_records_enabled(Boolean) If enabled - additional service DNS will be created.
Nested Schema for endpoint_address
Read-Only:
-
address(String) Specifies IP address withinsubnet_id. -
address_id(String) ID of the address. -
subnet_id(String) Subnet of the IP address.