Data Source: oci_os_management_hub_management_stations
This data source provides the list of Management Stations in Oracle Cloud Infrastructure Os Management Hub service.
Lists management stations in a compartment.
Example Usage
data "oci_os_management_hub_management_stations" "test_management_stations" {
#Optional
compartment_id = var.compartment_id
display_name = var.management_station_display_name
display_name_contains = var.management_station_display_name_contains
id = var.management_station_id
managed_instance_id = oci_os_management_hub_managed_instance.test_managed_instance.id
state = var.management_station_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) (Updatable) 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.id
- (Optional) The OCID of the management station. A filter that returns information about the specified management station.managed_instance_id
- (Optional) The OCID of the managed instance. This filter returns resources associated with this managed instance.state
- (Optional) A filter that returns information for management stations in the specified state.
Attributes Reference
The following attributes are exported:
management_station_collection
- The list of management_station_collection.
ManagementStation Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment that contains the management station.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
- User-specified description for the management station.display_name
- A user-friendly name for the management station.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"}
health
- Overall health information of the management station.description
- Explanation of the health status.state
- Overall health status of the management station.
hostname
- Hostname of the management station.id
- The OCID of the management station.managed_instance_id
- The OCID of the instance that is acting as the management station.mirror
- Mirror information used for the management station configuration.directory
- Path to the data volume on the management station where software source mirrors are stored.port
- Default mirror listening port for http.sslcert
- Path to the SSL cerfificate.sslport
- Default mirror listening port for https.
mirror_capacity
- A decimal number representing the amount of mirror capacity used by the sync.mirror_sync_status
- Status summary of the mirror sync.failed
- Total number of software sources that failed to sync.queued
- Total number of software sources that are queued for sync.synced
- Total number of software sources that successfully synced.syncing
- Total number of software sources currently syncing.unsynced
- Total number of software sources that have not yet been synced.
overall_percentage
- A decimal number representing the progress of the current mirror sync.overall_state
- Current state of the mirror sync for the management station.profile_id
- The OCID of the registration profile used for the management station.proxy
- Proxy information used for the management station configuration.forward
- The URL the proxy will forward to.hosts
- List of hosts.is_enabled
- Indicates if the proxy should be enabled or disabled. Default is enabled.port
- Listening port used for the proxy.
scheduled_job_id
- The OCID of the scheduled job for the mirror sync.state
- The current state of the management station.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
total_mirrors
- The number of software sources that the station is mirroring.