Data Source: oci_osmanagement_managed_instance_module_streams

This data source provides the list of Managed Instance Module Streams in Oracle Cloud Infrastructure OS Management service.

Retrieve a list of module streams, along with a summary of their status, from a managed instance. Filters may be applied to select a subset of module streams based on the filter criteria.

The ‘moduleName’ attribute filters against the name of a module. It accepts strings of the format “”. If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter.

The “status” attribute filters against the state of a module stream. Valid values are “ENABLED”, “DISABLED”, and “ACTIVE”. If the attribute is set to “ENABLED”, only module streams that are enabled are included in the result set. If the attribute is set to “DISABLED”, only module streams that are not enabled are included in the result set. If the attribute is set to “ACTIVE”, only module streams that are active are included in the result set. If the attribute is not defined, the request is not subject to this filter.

When sorting by the display name, the result set is sorted first by the module name and then by the stream name.

Example Usage

data "oci_osmanagement_managed_instance_module_streams" "test_managed_instance_module_streams" {
	#Required
	managed_instance_id = var.managed_instance_id

	#Optional
	compartment_id = var.compartment_id
	module_name = var.managed_instance_module_name
	stream_name = var.managed_instance_module_stream_name
	stream_status = var.managed_instance_module_stream_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ManagedInstanceModuleStream Reference

The following attributes are exported: