Getting a Private Endpoint's Details
Get details for a private endpoint in Resource Manager.
Using a Terraform Configuration
Get details for an existing private endpoint by adding code to reference it from a Terraform configuration.
For an example, see Example Usage (Data Source: oci_resourcemanager_private_endpoint).
Tip
- To create a stack that retrieves a Resource Manager private endpoint, use the Resource Manager get private endpoint template.
-
For example Terraform configurations that use Resource Manager private endpoints, see Private endpoint Terraform configuration examples.
To get details for a private endpoint by using the Console, follow these steps. - Open the navigation menu and click Developer Services. Under Resource Manager, click Private Endpoints.
- On the Private endpoints page, select the compartment that contains the private endpoint that you want.
- Click the name of the private endpoint that you want.
Use the
oci resource-manager private-endpoint get
command to get a private endpoint.oci resource-manager private-endpoint get --private-endpoint-id <private_endpoint_ocid>
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Use the GetPrivateEndpoint operation to get a private endpoint.