Data Source: oci_dns_resolver_endpoints

This data source provides the list of Resolver Endpoints in Oracle Cloud Infrastructure DNS service.

Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state. It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include resolver endpoints in the DELETED lifecycle state to be consistent with other operations of the API.

Example Usage

data "oci_dns_resolver_endpoints" "test_resolver_endpoints" {
	#Required
	resolver_id = oci_dns_resolver.test_resolver.id
	scope = "PRIVATE"

	#Optional
	name = var.resolver_endpoint_name
	state = var.resolver_endpoint_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ResolverEndpoint Reference

The following attributes are exported: