Data Source: oci_os_management_hub_profiles
This data source provides the list of Profiles in Oracle Cloud Infrastructure Os Management Hub service.
Lists registration profiles that match the specified compartment or profile OCID. Filter the list against a variety of criteria including but not limited to its name, status, vendor name, and architecture type.
Example Usage
data "oci_os_management_hub_profiles" "test_profiles" {
#Optional
arch_type = var.profile_arch_type
compartment_id = var.compartment_id
display_name = var.profile_display_name
display_name_contains = var.profile_display_name_contains
os_family = var.profile_os_family
profile_id = oci_os_management_hub_profile.test_profile.id
profile_type = var.profile_profile_type
state = var.profile_state
vendor_name = var.profile_vendor_name
}
Argument Reference
The following arguments are supported:
arch_type
- (Applicable when profile_type=SOFTWARESOURCE | STATION) A filter to return only profiles that match the given archType.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.os_family
- (Applicable when profile_type=SOFTWARESOURCE | STATION) A filter to return only profiles that match the given osFamily.profile_id
- (Optional) The OCID of the registration profile.profile_type
- (Optional) A filter to return registration profiles that match the given profileType.state
- (Optional) A filter to return only registration profile whose lifecycleState matches the given lifecycleState.vendor_name
- (Applicable when profile_type=SOFTWARESOURCE | STATION) A filter to return only profiles that match the given vendorName.
Attributes Reference
The following attributes are exported:
profile_collection
- The list of profile_collection.
Profile Reference
The following attributes are exported:
arch_type
- The architecture type.compartment_id
- The OCID of the tenancy containing the registration profile.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
- The description of the registration profile.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.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"}
id
- The OCID of the profile that is immutable on creation.lifecycle_environment
- Identifying information for the specified lifecycle environment.display_name
- Lifecycle environment name.id
- The OCID of the lifecycle environment.
lifecycle_stage
- Identifying information for the specified lifecycle stage.display_name
- Lifecycle stage name.id
- The OCID of the lifecycle stage.
managed_instance_group
- Identifying information for the specified managed instance group.display_name
- Managed instance group displayName.id
- The OCID of the managed instance group.
management_station_id
- The OCID of the management station.os_family
- The operating system family.profile_type
- The type of Profile. One of SOFTWARESOURCE, GROUP or LIFECYCLE.software_sources
- The list of software sources that the registration profile will use.description
- Software source description.display_name
- Software source name.id
- The OCID of the software source.software_source_type
- Type of the software source.
state
- The current state of the registration profile.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 time the the registration profile was created. An RFC3339 formatted datetime string.vendor_name
- The software source vendor name.