oci_jms_fleet_agent_configuration

This resource provides the Fleet Agent Configuration resource in Oracle Cloud Infrastructure Jms service.

Update the Fleet Agent Configuration for the specified Fleet.

Example Usage

resource "oci_jms_fleet_agent_configuration" "test_fleet_agent_configuration" {
	#Required
	fleet_id = oci_jms_fleet.test_fleet.id

	#Optional
  agent_polling_interval_in_minutes                  = 10
  is_capturing_ip_address_and_fqdn_enabled           = false
  is_collecting_managed_instance_metrics_enabled     = false
  is_collecting_usernames_enabled                    = false
  is_libraries_scan_enabled                          = false
  java_usage_tracker_processing_frequency_in_minutes = 10
  jre_scan_frequency_in_minutes                      = 180  # must be >= 180
  linux_configuration {
    #Required
    exclude_paths = ["/user/private1", "/opt/private1"]
    include_paths = ["/user", "/opt"]
  }
  mac_os_configuration {
    #Required
    exclude_paths = ["/home/private1"]
    include_paths = ["/home"]
  }
  windows_configuration {
    #Required
    exclude_paths = ["c:\\windows\\private1", "d:\\data\\private1"]
    include_paths = ["c:\\windows", "d:\\data"]
  }
  work_request_validity_period_in_days = 10
}

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

Import

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

$ terraform import oci_jms_fleet_agent_configuration.test_fleet_agent_configuration "fleets/{fleetId}/agentConfiguration"