Data Source: oci_database_management_db_management_private_endpoints
This data source provides the list of Db Management Private Endpoints in Oracle Cloud Infrastructure Database Management service.
Gets a list of Database Management private endpoints.
Example Usage
data "oci_database_management_db_management_private_endpoints" "test_db_management_private_endpoints" {
#Required
compartment_id = var.compartment_id
#Optional
is_cluster = var.db_management_private_endpoint_is_cluster
name = var.db_management_private_endpoint_name
state = var.db_management_private_endpoint_state
vcn_id = oci_core_vcn.test_vcn.id
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment.is_cluster
- (Optional) The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter.name
- (Optional) A filter to return only resources that match the entire name.state
- (Optional) The lifecycle state of a resource.vcn_id
- (Optional) The OCID of the VCN.
Attributes Reference
The following attributes are exported:
db_management_private_endpoint_collection
- The list of db_management_private_endpoint_collection.
DbManagementPrivateEndpoint Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment.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
- The description of the Database Management private endpoint.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the Database Management private endpoint.is_cluster
- Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.name
- The display name of the Database Management private endpoint.nsg_ids
- The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs.private_ip
- The IP addresses assigned to the Database Management private endpoint.state
- The current lifecycle state of the Database Management private endpoint.subnet_id
- The OCID of the subnet.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the Database Managament private endpoint was created, in the format defined by RFC3339.vcn_id
- The OCID of the VCN.