Data Source: oci_dns_views

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

Gets a list of all views within a compartment.

The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include views in the DELETED lifecycleState to be consistent with other operations of the API.

Example Usage

data "oci_dns_views" "test_views" {
	#Required
	compartment_id = var.compartment_id
	scope = "PRIVATE"

	#Optional
	display_name = var.view_display_name
	id = var.view_id
	state = var.view_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

View Reference

The following attributes are exported: