This data source provides the list of Managed Instance Group Available Packages in Oracle Cloud Infrastructure Os Management Hub service.
Lists available packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.
data "oci_os_management_hub_managed_instance_group_available_packages" "test_managed_instance_group_available_packages" {
#Required
managed_instance_group_id = oci_os_management_hub_managed_instance_group.test_managed_instance_group.id
#Optional
compartment_id = var.compartment_id
display_name = var.managed_instance_group_available_package_display_name
display_name_contains = var.managed_instance_group_available_package_display_name_contains
is_latest = var.managed_instance_group_available_package_is_latest
}
The following arguments are supported:
compartment_id
- (Optional) The OCID of the compartment that contains the resources to list.display_name
- (Optional) A filter to return resources that match the given display names.display_name_contains
- (Optional) A filter to return resources that may partially match the given display name.is_latest
- (Optional) A boolean variable that is used to list only the latest versions of packages, module streams, and stream profiles when set to true. All packages, module streams, and stream profiles are returned when set to false. managed_instance_group_id
- (Required) The managed instance group OCID.The following attributes are exported:
managed_instance_group_available_package_collection
- The list of managed_instance_group_available_package_collection.The following attributes are exported:
items
- List of available packages.
architecture
- The architecture for which this package was built.display_name
- Package name.is_latest
- Flag to return only latest package versions.name
- Unique identifier for the package. NOTE - This is not an OCID.software_sources
- List of software sources that provide the software package.
description
- Software source description.display_name
- Software source name.id
- The OCID of the software source.software_source_type
- Type of the software source.type
- Type of the package.version
- Version of the installed package.