Data Source: oci_resourcemanager_private_endpoints
This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Resource Manager service.
Lists private endpoints according to the specified filter.
For more information, see
Listing Private Endpoints.
- For compartmentId
, lists all private endpoints in the matching compartment.
- For privateEndpointId
, lists the matching private endpoint.
Example Usage
data "oci_resourcemanager_private_endpoints" "test_private_endpoints" {
#Optional
compartment_id = var.compartment_id
display_name = var.private_endpoint_display_name
private_endpoint_id = oci_resourcemanager_private_endpoint.test_private_endpoint.id
vcn_id = oci_core_vcn.test_vcn.id
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) A filter to return only resources that exist in the compartment, identified by OCID.display_name
- (Optional) A filter to return only resources that match the given display name exactly. Use this filter to list a resource by name. RequiressortBy
set toDISPLAYNAME
. Alternatively, when you know the resource OCID, use the related Get operation.private_endpoint_id
- (Optional) The OCID of the private endpoint.vcn_id
- (Optional) The OCID of the VCN.
Attributes Reference
The following attributes are exported:
private_endpoint_collection
- The list of private_endpoint_collection.
PrivateEndpoint Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment containing this private endpoint.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- Description of the private endpoint. Avoid entering confidential information.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.dns_zones
- DNS zones to use for accessing private Git servers. For private Git server instructions, see Private Git Server. Specify DNS fully qualified domain names (FQDNs); DNS Proxy forwards related DNS FQDN queries to the consumer DNS resolver. For DNS FQDNs not specified, queries go to service provider VCN resolver. Example:abc.oraclevcn.com
freeform_tags
- Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the private endpoint.is_used_with_configuration_source_provider
- Whentrue
, allows the private endpoint to be used with a configuration source provider.nsg_id_list
- The OCIDs of network security groups (NSGs) for the private endpoint. Order does not matter.security_attributes
- Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}
source_ips
- The source IP addresses that Resource Manager uses to connect to your network. Automatically assigned by Resource Manager.state
- The current lifecycle state of the private endpoint.subnet_id
- The OCID of the subnet within the VCN for the private endpoint.system_tags
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:{orcl-cloud: {free-tier-retain: true}}
time_created
- The date and time at which the private endpoint was created. Format is defined by RFC3339. Example:2020-11-25T21:10:29.600Z
vcn_id
- The OCID of the VCN for the private endpoint.