Data Source: oci_jms_fleet_errors
This data source provides the list of Fleet Errors in Oracle Cloud Infrastructure Jms service.
Returns a list of fleet errors that describe all detected errors.
Example Usage
data "oci_jms_fleet_errors" "test_fleet_errors" {
#Optional
compartment_id = var.compartment_id
compartment_id_in_subtree = var.fleet_error_compartment_id_in_subtree
fleet_id = oci_jms_fleet.test_fleet.id
time_first_seen_greater_than_or_equal_to = var.fleet_error_time_first_seen_greater_than_or_equal_to
time_first_seen_less_than_or_equal_to = var.fleet_error_time_first_seen_less_than_or_equal_to
time_last_seen_greater_than_or_equal_to = var.fleet_error_time_last_seen_greater_than_or_equal_to
time_last_seen_less_than_or_equal_to = var.fleet_error_time_last_seen_less_than_or_equal_to
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The OCID of the compartment in which to list resources.compartment_id_in_subtree
- (Optional) Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.fleet_id
- (Optional) The ID of the Fleet.time_first_seen_greater_than_or_equal_to
- (Optional) If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).time_first_seen_less_than_or_equal_to
- (Optional) If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).time_last_seen_greater_than_or_equal_to
- (Optional) If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).time_last_seen_less_than_or_equal_to
- (Optional) If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
Attributes Reference
The following attributes are exported:
fleet_error_collection
- The list of fleet_error_collection.
FleetError Reference
The following attributes are exported:
items
- A list of FleetErrorSummary.compartment_id
- The compartment OCID of the Fleet.errors
- List of fleet error details.details
- Optional string containing additional details.reason
- The fleet error reason.time_last_seen
- The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
fleet_id
- The OCID of the Fleet.fleet_name
- The display name of the Fleet.time_first_seen
- The timestamp of the first time an error was detected.time_last_seen
- The timestamp of the last time an error was detected.