Data Source: oci_osmanagement_managed_instances
This data source provides the list of Managed Instances in Oracle Cloud Infrastructure OS Management service.
Returns a list of all Managed Instances.
Example Usage
data "oci_osmanagement_managed_instances" "test_managed_instances" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.managed_instance_display_name
os_family = var.managed_instance_os_family
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The ID of the compartment in which to list resources.display_name
- (Optional) A user-friendly name. Does not have to be unique, and it’s changeable. Example:My new resource
os_family
- (Optional) The OS family for which to list resources.
Attributes Reference
The following attributes are exported:
managed_instances
- The list of managed_instances.
ManagedInstance Reference
The following attributes are exported:
autonomous
- if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific informationis_auto_update_enabled
- True if daily updates are enabled
bug_updates_available
- Number of bug fix type updates available to be installedchild_software_sources
- list of child Software Sources attached to the Managed Instanceid
- software source identifiername
- software source name
compartment_id
- OCID for the Compartmentdescription
- Information specified by the user about the managed instancedisplay_name
- Managed Instance identifierenhancement_updates_available
- Number of enhancement type updates available to be installedid
- OCID for the managed instanceis_data_collection_authorized
- True if user allow data collection for this instanceis_reboot_required
- Indicates whether a reboot is required to complete installation of updates.ksplice_effective_kernel_version
- The ksplice effective kernel versionlast_boot
- Time at which the instance last bootedlast_checkin
- Time at which the instance last checked inmanaged_instance_groups
- The ids of the managed instance groups of which this instance is a member.display_name
- User friendly nameid
- unique identifier that is immutable on creation
notification_topic_id
- OCID of the ONS topic used to send notification to usersos_family
- The Operating System type of the managed instance.os_kernel_version
- Operating System Kernel Versionos_name
- Operating System Nameos_version
- Operating System Versionother_updates_available
- Number of non-classified updates available to be installedparent_software_source
- the parent (base) Software Source attached to the Managed Instanceid
- software source identifiername
- software source name
scheduled_job_count
- Number of scheduled jobs associated with this instancesecurity_updates_available
- Number of security type updates available to be installedstatus
- status of the managed instance.updates_available
- Number of updates available to be installedwork_request_count
- Number of work requests associated with this instance