oci_ai_vision_stream_source

This resource provides the Stream Source resource in Oracle Cloud Infrastructure Ai Vision service.

Registration of new streamSource

Example Usage

resource "oci_ai_vision_stream_source" "test_stream_source" {
	#Required
	compartment_id = var.compartment_id
	stream_source_details {
		#Required
		camera_url = var.stream_source_stream_source_details_camera_url
		source_type = var.stream_source_stream_source_details_source_type
		stream_network_access_details {
			#Required
			private_endpoint_id = oci_dataflow_private_endpoint.test_private_endpoint.id
			stream_access_type = var.stream_source_stream_source_details_stream_network_access_details_stream_access_type
		}

		#Optional
		secret_id = oci_vault_secret.test_secret.id
	}

	#Optional
	defined_tags = var.stream_source_defined_tags
	display_name = var.stream_source_display_name
	freeform_tags = var.stream_source_freeform_tags
}

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

Import

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

$ terraform import oci_ai_vision_stream_source.test_stream_source "id"