Data Source: oci_os_management_hub_managed_instance_installed_windows_updates
This data source provides the list of Managed Instance Installed Windows Updates in Oracle Cloud Infrastructure Os Management Hub service.
Returns a list of Windows updates that have been installed on the specified managed instance.
Example Usage
data "oci_os_management_hub_managed_instance_installed_windows_updates" "test_managed_instance_installed_windows_updates" {
#Required
managed_instance_id = oci_os_management_hub_managed_instance.test_managed_instance.id
#Optional
compartment_id = var.compartment_id
display_name = var.managed_instance_installed_windows_update_display_name
display_name_contains = var.managed_instance_installed_windows_update_display_name_contains
name = var.managed_instance_installed_windows_update_name
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.display_name
- (Optional) A filter to return resources that match the given user-friendly name.display_name_contains
- (Optional) A filter to return resources that may partially match the given display name.managed_instance_id
- (Required) The OCID of the managed instance.name
- (Optional) A filter based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: ‘6981d463-cd91-4a26-b7c4-ea4ded9183ed’
Attributes Reference
The following attributes are exported:
installed_windows_update_collection
- The list of installed_windows_update_collection.
ManagedInstanceInstalledWindowsUpdate Reference
The following attributes are exported:
items
- List of installed Windows updates.name
- Name of the Windows update.update_id
- Unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: ‘6981d463-cd91-4a26-b7c4-ea4ded9183ed’update_type
- The type of Windows update.