Data Source: azurerm_private_endpoint_connection

Use this data source to access the connection status information about an existing Private Endpoint Connection.

Example Usage

data "azurerm_private_endpoint_connection" "example" {
  name                = "example-private-endpoint"
  resource_group_name = "example-rg"
}

output "private_endpoint_status" {
  value = data.azurerm_private_endpoint_connection.example.private_service_connection[0].status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


A network_interface block exports:


A private_service_connection block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: