Data Source: oci_multicloud_resource_anchors

This data source provides the list of Resource Anchors in Oracle Cloud Infrastructure Multicloud service.

Lists resource anchors in the specified Multicloud subscription. Details listed for each resource anchor include name, state, and the related Multicloud compartment. For more information, see Listing Resource Anchors.

Example Usage

data "oci_multicloud_resource_anchors" "test_resource_anchors" {
	#Optional
	compartment_id 					= var.compartment_id
	linked_compartment_id 			= var.linked_compartment_id
	lifecycle_state 				= var.lifecycle_state
	display_name 					= var.resource_anchor_display_name
	id 								= var.resource_anchor_id
	is_compartment_id_in_subtree 	= var.is_compartment_id_in_subtree
	should_fetch_compartment_name	= var.should_fetch_compartment_name
	subscription_service_name 		= var.subscription_service_name
	subscription_id 				= var.subscription_id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ResourceAnchorCollection Reference

The following attributes are exported: