Data Source: oci_management_agent_management_agent_count

This data source provides details about a specific Management Agent Count resource in Oracle Cloud Infrastructure Management Agent service.

Gets count of the inventory of agents for a given compartment id, group by, and isPluginDeployed parameters. Supported groupBy parameters: availabilityStatus, platformType, version

Example Usage

data "oci_management_agent_management_agent_count" "test_management_agent_count" {
	#Required
	compartment_id = var.compartment_id
	group_by = var.management_agent_count_group_by

	#Optional
	has_plugins = var.management_agent_count_has_plugins
	install_type = var.management_agent_count_install_type
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: