Data Source: oci_fleet_apps_management_maintenance_windows
This data source provides the list of Maintenance Windows in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of MaintenanceWindows in the specified Tenancy.
Example Usage
data "oci_fleet_apps_management_maintenance_windows" "test_maintenance_windows" {
#Optional
compartment_id = var.compartment_id
display_name = var.maintenance_window_display_name
id = var.maintenance_window_id
state = var.maintenance_window_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The ID of the compartment in which to list resources.display_name
- (Optional) A filter to return only resources that match the entire display name given.id
- (Optional) unique MaintenanceWindow identifierstate
- (Optional) A filter to return only resources their lifecycleState matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
maintenance_window_collection
- The list of maintenance_window_collection.
MaintenanceWindow Reference
The following attributes are exported:
compartment_id
- Tenancy OCIDdefined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resource
duration
- Duration if schedule type is Customfreeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The OCID of the resource.is_outage
- Does the maintenenace window cause outage?is_recurring
- Is this is a recurring maintenance windowlifecycle_details
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.maintenance_window_type
- Type of the MaintenanceWindow.recurrences
- Recurrence rule specification if recurringresource_region
- Associated regionstate
- The current state of the MaintenanceWindow.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
task_initiation_cutoff
- Task initiation cutofftime_created
- The time this resource was created. An RFC3339 formatted datetime string.time_schedule_start
- Start time of scheduletime_updated
- The time this resource was last updated. An RFC3339 formatted datetime string.