Data Source: oci_os_management_hub_managed_instance
This data source provides details about a specific Managed Instance resource in Oracle Cloud Infrastructure Os Management Hub service.
Gets information about the specified managed instance.
Example Usage
data "oci_os_management_hub_managed_instance" "test_managed_instance" {
#Required
managed_instance_id = oci_os_management_hub_managed_instance.test_managed_instance.id
}
Argument Reference
The following arguments are supported:
managed_instance_id- (Required) The OCID of the managed instance.
Attributes Reference
The following attributes are exported:
agent_version- The version of osmh-agent running on the managed instancearchitecture- The CPU architecture type of the managed instance.autonomous_settings- Settings for the Autonomous Linux service.is_data_collection_authorized- Indicates whether Autonomous Linux will collect crash files. This setting can be changed by the user.scheduled_job_id- The OCID of the restricted scheduled job associated with this instance. This value cannot be deleted by the user.
bug_updates_available- Number of bug fix type updates available for installation.compartment_id- The OCID of the compartment that contains the managed instance.description- User-specified description for the managed instance.display_name- User-friendly name for the managed instance.enhancement_updates_available- Number of enhancement type updates available for installation.id- The OCID of the managed instance.installed_packages- Number of packages installed on the instance.installed_windows_updates- Number of Windows updates installed on the instance.is_managed_by_autonomous_linux- Indicates whether the Autonomous Linux service manages the instance.is_management_station- Indicates whether this managed instance is acting as an on-premises management station.is_reboot_required- Indicates whether a reboot is required to complete installation of updates.ksplice_effective_kernel_version- The ksplice effective kernel version.lifecycle_environment- Id and name of a resource to simplify the display for the user.display_name- User-friendly name.id- The OCID of the resource that is immutable on creation.
lifecycle_stage- Id and name of a resource to simplify the display for the user.display_name- User-friendly name.id- The OCID of the resource that is immutable on creation.
location- The location of the managed instance.managed_instance_group- Id and name of a resource to simplify the display for the user.display_name- User-friendly name.id- The OCID of the resource that is immutable on creation.
notification_topic_id- The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.os_family- The operating system type of the managed instance.os_kernel_version- Operating system kernel version.os_name- Operating system name.os_version- Operating system version.other_updates_available- Number of non-classified (other) updates available for installation.primary_management_station_id- The OCID of the management station for the instance to use as primary management station.profile- The profile that was used to register this instance with the service.profile_version- The version of the profile that was used to register this instance with the service.scheduled_job_count- Number of scheduled jobs associated with this instance.secondary_management_station_id- The OCID of the management station for the instance to use as secondary management station.security_updates_available- Number of security type updates available for installation.software_sources- The list of software sources currently attached to the managed instance.description- Software source description.display_name- Software source name.id- The OCID of the software source.is_mandatory_for_autonomous_linux- Indicates whether this is a required software source for Autonomous Linux instances. If true, the user can’t unselect it.software_source_type- Type of the software source.
status- Current status of the managed instance.tenancy_id- The OCID of the tenancy that the managed instance resides in.time_created- The date and time the instance was created (in RFC 3339 format).time_last_boot- Time that the instance last booted (in RFC 3339 format).time_last_checkin- Time that the instance last checked in with the service (in RFC 3339 format).time_updated- The date and time the instance was last updated (in RFC 3339 format).updates_available- Number of updates available for installation.work_request_count- Number of work requests associated with this instance.