Data Source: oci_opsi_news_reports

This data source provides the list of News Reports in Oracle Cloud Infrastructure Opsi service.

Gets a list of news reports based on the query parameters specified. Either compartmentId or id query parameter must be specified.

Example Usage

data "oci_opsi_news_reports" "test_news_reports" {

	#Optional
	compartment_id = var.compartment_id
	compartment_id_in_subtree = var.news_report_compartment_id_in_subtree
	news_report_id = oci_opsi_news_report.test_news_report.id
	state = var.news_report_state
	status = var.news_report_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

NewsReport Reference

The following attributes are exported: