oci_os_management_hub_managed_instance

This resource provides the Managed Instance resource in Oracle Cloud Infrastructure Os Management Hub service.

Updates the specified managed instance information, such as description, ONS topic, and associated management station.

Example Usage

resource "oci_os_management_hub_managed_instance" "test_managed_instance" {
	#Required
	managed_instance_id = oci_os_management_hub_managed_instance.test_managed_instance.id

	#Optional
	autonomous_settings {

		#Optional
		is_data_collection_authorized = var.managed_instance_autonomous_settings_is_data_collection_authorized
	}
	description = var.managed_instance_description
	notification_topic_id = oci_ons_notification_topic.test_notification_topic.id
	primary_management_station_id = oci_os_management_hub_management_station.test_management_station.id
	secondary_management_station_id = oci_os_management_hub_management_station.test_management_station.id
}

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 Managed Instance * update - (Defaults to 20 minutes), when updating the Managed Instance * delete - (Defaults to 20 minutes), when destroying the Managed Instance

Import

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

$ terraform import oci_os_management_hub_managed_instance.test_managed_instance "id"