oci_jms_fleet_advanced_feature_configuration

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

Update advanced feature configurations for the Fleet. Ensure that the namespace and bucket storage are created prior to turning on the JfrRecording or CryptoEventAnalysis feature.

Example Usage

resource "oci_jms_fleet_advanced_feature_configuration" "test_fleet_advanced_feature_configuration" {
	#Required
	fleet_id = oci_jms_fleet.test_fleet.id

	#Optional
	advanced_usage_tracking {

		#Optional
		is_enabled = var.fleet_advanced_feature_configuration_advanced_usage_tracking_is_enabled
	}
	analytic_bucket_name = oci_objectstorage_bucket.test_bucket.name
	analytic_namespace = var.fleet_advanced_feature_configuration_analytic_namespace
	crypto_event_analysis {

		#Optional
		is_enabled = var.fleet_advanced_feature_configuration_crypto_event_analysis_is_enabled
		summarized_events_log {
			#Required
			log_group_id = oci_logging_log_group.test_log_group.id
			log_id = oci_logging_log.test_log.id
		}
	}
	java_migration_analysis {

		#Optional
		is_enabled = var.fleet_advanced_feature_configuration_java_migration_analysis_is_enabled
	}
	jfr_recording {

		#Optional
		is_enabled = var.fleet_advanced_feature_configuration_jfr_recording_is_enabled
	}
	lcm {

		#Optional
		is_enabled = var.fleet_advanced_feature_configuration_lcm_is_enabled
		post_installation_actions {

			#Optional
			add_logging_handler = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_add_logging_handler
			disabled_tls_versions = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_disabled_tls_versions
			global_logging_level = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_global_logging_level
			minimum_key_size_settings {

				#Optional
				certpath {

					#Optional
					key_size = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_minimum_key_size_settings_certpath_key_size
					name = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_minimum_key_size_settings_certpath_name
				}
				jar {

					#Optional
					key_size = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_minimum_key_size_settings_jar_key_size
					name = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_minimum_key_size_settings_jar_name
				}
				tls {

					#Optional
					key_size = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_minimum_key_size_settings_tls_key_size
					name = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_minimum_key_size_settings_tls_name
				}
			}
			proxies {

				#Optional
				ftp_proxy_host = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_ftp_proxy_host
				ftp_proxy_port = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_ftp_proxy_port
				http_proxy_host = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_http_proxy_host
				http_proxy_port = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_http_proxy_port
				https_proxy_host = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_https_proxy_host
				https_proxy_port = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_https_proxy_port
				socks_proxy_host = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_socks_proxy_host
				socks_proxy_port = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_socks_proxy_port
				use_system_proxies = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_proxies_use_system_proxies
			}
			should_replace_certificates_operating_system = var.fleet_advanced_feature_configuration_lcm_post_installation_actions_should_replace_certificates_operating_system
		}
	}
	performance_tuning_analysis {

		#Optional
		is_enabled = var.fleet_advanced_feature_configuration_performance_tuning_analysis_is_enabled
	}
}

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

Import

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

$ terraform import oci_jms_fleet_advanced_feature_configuration.test_fleet_advanced_feature_configuration "fleets/{fleetId}/advancedFeatureConfiguration"