Data Source: oci_management_agent_management_agents

This data source provides the list of Management Agents in Oracle Cloud Infrastructure Management Agent service.

Returns a list of Management Agents. If no explicit page size limit is specified, it will default to 1000 when compartmentIdInSubtree is true and 5000 otherwise. The response is limited to maximum 1000 records when compartmentIdInSubtree is true.

Example Usage

data "oci_management_agent_management_agents" "test_management_agents" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	access_level = var.management_agent_access_level
	availability_status = var.management_agent_availability_status
	compartment_id_in_subtree = var.management_agent_compartment_id_in_subtree
	data_source_name = oci_management_agent_management_agent_data_source.test_management_agent_data_source.name
	data_source_type = var.management_agent_data_source_type
	display_name = var.management_agent_display_name
	gateway_id = oci_apigateway_gateway.test_gateway.id
	host_id = oci_management_agent_host.test_host.id
	wait_for_host_id = 10
	install_type = var.management_agent_install_type
	is_customer_deployed = var.management_agent_is_customer_deployed
	platform_type = var.management_agent_platform_type
	plugin_name = var.management_agent_plugin_name
	state = var.management_agent_state
	version = var.management_agent_version
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ManagementAgent Reference

The following attributes are exported: