Data Source: oci_ocvp_datastores

This data source provides the list of Datastores in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.

List the Datastores in the specified compartment. The list can be filtered by compartment, datastore id, display name and lifecycle state.

Example Usage

data "oci_ocvp_datastores" "test_datastores" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	cluster_id = oci_ocvp_cluster.test_cluster.id
	datastore_id = oci_ocvp_datastore.test_datastore.id
	display_name = var.datastore_display_name
	state = var.datastore_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Datastore Reference

The following attributes are exported: