Data Source: oci_os_management_hub_managed_instances

This data source provides the list of Managed Instances in Oracle Cloud Infrastructure Os Management Hub service.

Lists managed instances that match the specified compartment or managed instance OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS version.

Example Usage

data "oci_os_management_hub_managed_instances" "test_managed_instances" {

	#Optional
	advisory_name = var.managed_instance_advisory_name
	arch_type = var.managed_instance_arch_type
	compartment_id = var.compartment_id
	display_name = var.managed_instance_display_name
	display_name_contains = var.managed_instance_display_name_contains
	group = var.managed_instance_group
	group_not_equal_to = var.managed_instance_group_not_equal_to
	is_attached_to_group_or_lifecycle_stage = var.managed_instance_is_attached_to_group_or_lifecycle_stage
	is_managed_by_autonomous_linux = var.managed_instance_is_managed_by_autonomous_linux
	is_management_station = var.managed_instance_is_management_station
	is_profile_attached = var.managed_instance_is_profile_attached
	lifecycle_environment = var.managed_instance_lifecycle_environment
	lifecycle_environment_not_equal_to = var.managed_instance_lifecycle_environment_not_equal_to
	lifecycle_stage = var.managed_instance_lifecycle_stage
	lifecycle_stage_not_equal_to = var.managed_instance_lifecycle_stage_not_equal_to
	location = var.managed_instance_location
	location_not_equal_to = var.managed_instance_location_not_equal_to
	managed_instance_id = oci_os_management_hub_managed_instance.test_managed_instance.id
	os_family = var.managed_instance_os_family
	profile = var.managed_instance_profile
	profile_not_equal_to = var.managed_instance_profile_not_equal_to
	software_source_id = oci_os_management_hub_software_source.test_software_source.id
	status = var.managed_instance_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ManagedInstance Reference

The following attributes are exported: