oci_data_safe_report_definition

This resource provides the Report Definition resource in Oracle Cloud Infrastructure Data Safe service.

Creates a new report definition with parameters specified in the body. The report definition is stored in the specified compartment.

Example Usage

resource "oci_data_safe_report_definition" "test_report_definition" {
	#Required
	column_filters {
		#Required
		expressions = var.report_definition_column_filters_expressions
		field_name = var.report_definition_column_filters_field_name
		is_enabled = var.report_definition_column_filters_is_enabled
		is_hidden = var.report_definition_column_filters_is_hidden
		operator = var.report_definition_column_filters_operator
	}
	column_info {
		#Required
		display_name = var.report_definition_column_info_display_name
		display_order = var.report_definition_column_info_display_order
		field_name = var.report_definition_column_info_field_name
		is_hidden = var.report_definition_column_info_is_hidden

		#Optional
		data_type = var.report_definition_column_info_data_type
	}
	column_sortings {
		#Required
		field_name = var.report_definition_column_sortings_field_name
		is_ascending = var.report_definition_column_sortings_is_ascending
		sorting_order = var.report_definition_column_sortings_sorting_order
	}
	compartment_id = var.compartment_id
	display_name = var.report_definition_display_name
	parent_id = oci_data_safe_parent.test_parent.id
	summary {
		#Required
		display_order = var.report_definition_summary_display_order
		name = var.report_definition_summary_name

		#Optional
		count_of = var.report_definition_summary_count_of
		group_by_field_name = var.report_definition_summary_group_by_field_name
		is_hidden = var.report_definition_summary_is_hidden
		scim_filter = var.report_definition_summary_scim_filter
	}

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.report_definition_description
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_data_safe_report_definition.test_report_definition "id"