Data Source: oci_distributed_database_distributed_database_private_endpoints
This data source provides the list of Distributed Database Private Endpoints in Oracle Cloud Infrastructure Distributed Database service.
List of DistributedDatabasePrivateEndpoints.
Example Usage
data "oci_distributed_database_distributed_database_private_endpoints" "test_distributed_database_private_endpoints" {
#Required
compartment_id = var.compartment_id
#Optional
compartment_id_in_subtree = var.distributed_database_private_endpoint_compartment_id_in_subtree
display_name = var.distributed_database_private_endpoint_display_name
state = var.distributed_database_private_endpoint_state
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) The ID of the compartment in which to list resources.compartment_id_in_subtree- (Optional) When set to true, returns resources in the specified compartment and in all of its child compartments recursively. Defaults to false.display_name- (Optional) A filter to return only private endpoint that match the entire name given. The match is not case sensitive.state- (Optional) A filter to return only resources their lifecycleState matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
distributed_database_private_endpoint_collection- The list of distributed_database_private_endpoint_collection.
DistributedDatabasePrivateEndpoint Reference
The following attributes are exported:
compartment_id- Identifier of the compartment in which private endpoint exists.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}description- DistributedDatabasePrivateEndpoint description.display_name- DistributedDatabasePrivateEndpoint display name.freeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}id- The identifier of the Private Endpoint.lifecycle_details- Detailed message for the lifecycle state.private_ip- IP address of the Private Endpoint.proxy_compute_instance_id- The identifier of the proxy compute instance.state- Lifecycle states for private endpoint.subnet_id- Identifier of the subnet in which private endpoint exists.system_tags- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The time the DistributedDatabasePrivateEndpoint was first created. An RFC3339 formatted datetime stringtime_updated- The time the Private Endpoint was last updated. An RFC3339 formatted datetime stringvcn_id- Identifier of the VCN in which subnet exists.vcn_nsg_ids- The list of network security group (NSG) details associated with the private endpoint.nsg_ids- The list of OCIDs of the network security groups (NSGs) associated with resources in this VCN. For more information about NSGs, see Security Rules.vcn_id- The OCID of the customer Virtual Cloud Network.