This data source provides the list of Software Sources in Oracle Cloud Infrastructure Os Management Hub service.
Lists software sources that match the specified tenancy or software source OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
data "oci_os_management_hub_software_sources" "test_software_sources" {
#Optional
arch_type = var.software_source_arch_type
availability = var.software_source_availability
compartment_id = var.compartment_id
display_name = var.software_source_display_name
display_name_contains = var.software_source_display_name_contains
display_name_not_equal_to = var.software_source_display_name_not_equal_to
os_family = var.software_source_os_family
software_source_id = oci_os_management_hub_software_source.test_software_source.id
software_source_type = var.software_source_software_source_type
state = var.software_source_state
vendor_name = var.software_source_vendor_name
}
The following arguments are supported:
arch_type
- (Optional) A filter to return only instances whose architecture type matches the given architecture.availability
- (Optional) The availabilities of the software source for a tenant.compartment_id
- (Optional) The OCID of the compartment that contains the resources to list.display_name
- (Optional) A user-friendly name. Does not have to be unique, and it's changeable. Example: My new resource
display_name_contains
- (Optional) A filter to return resources that may partially match the given display name.display_name_not_equal_to
- (Optional) A multi filter to return resources that do not contains the given display names.os_family
- (Optional) A filter to return only instances whose OS family type matches the given OS family.software_source_id
- (Optional) The OCID for the software source.software_source_type
- (Optional) The type of the software source.state
- (Optional) A filter to return only resources whose lifecycleState matches the given lifecycleStates.vendor_name
- (Applicable when software_source_type=VENDOR) A filter to return only profiles that match the given vendorName.The following attributes are exported:
software_source_collection
- The list of software_source_collection.The following attributes are exported:
arch_type
- The architecture type supported by the software source.availability
- Possible availabilities of a software source.checksum_type
- The yum repository checksum type used by this software source.compartment_id
- The OCID of the tenancy containing the software source.custom_software_source_filter
- Used to apply filters to a VendorSoftwareSource to create/update CustomSoftwareSources.
module_stream_profile_filters
- The list of module stream/profile filters.
filter_type
- The type of the filter, which can be of two types - INCLUDE or EXCLUDE.module_name
- Module name.profile_name
- Profile name.stream_name
- Stream name.package_filters
- The list of package filters.
filter_type
- The type of the filter, which can be of two types - INCLUDE or EXCLUDE.package_name
- The package name.package_name_pattern
- The package name pattern.package_version
- The package version, which is denoted by 'version-release', or 'epoch:version-release'.package_group_filters
- The list of group filters.
filter_type
- The type of the filter, which can be of two types - INCLUDE or EXCLUDE.package_groups
- List of package group names.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
description
- Information specified by the user about the software source.display_name
- User friendly name for the software source.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
gpg_key_fingerprint
- Fingerprint of the GPG key for this software source.gpg_key_id
- ID of the GPG key for this software source.gpg_key_url
- URL of the GPG key for this software source.id
- OCID for the software source.is_automatically_updated
- Indicates whether service should automatically update the custom software source for the user.os_family
- The OS family the software source belongs to.package_count
- Number of packages.repo_id
- The Repo ID for the software source.software_source_type
- Type of the software source.software_source_version
- The version to assign to this custom software source.state
- The current state of the software source.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the software source was created, as described in RFC 3339, section 14.29. url
- URL for the repository.vendor_name
- Name of the vendor providing the software source.vendor_software_sources
- List of vendor software sources.
display_name
- User friendly name.id
- The OCID of the resource that is immutable on creation.