oci_fleet_apps_management_maintenance_window

This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.

Creates a new MaintenanceWindow.

Example Usage

resource "oci_fleet_apps_management_maintenance_window" "test_maintenance_window" {
	#Required
	compartment_id = var.compartment_id
	duration = var.maintenance_window_duration

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.maintenance_window_description
	display_name = var.maintenance_window_display_name
	freeform_tags = {"bar-key"= "value"}
	is_outage = var.maintenance_window_is_outage
	is_recurring = var.maintenance_window_is_recurring
	maintenance_window_type = var.maintenance_window_maintenance_window_type
	recurrences = var.maintenance_window_recurrences
	task_initiation_cutoff = var.maintenance_window_task_initiation_cutoff
	time_schedule_start = var.maintenance_window_time_schedule_start
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Maintenance Window * update - (Defaults to 20 minutes), when updating the Maintenance Window * delete - (Defaults to 20 minutes), when destroying the Maintenance Window

Import

MaintenanceWindows can be imported using the id, e.g.

$ terraform import oci_fleet_apps_management_maintenance_window.test_maintenance_window "id"