oci_media_services_stream_distribution_channel

This resource provides the Stream Distribution Channel resource in Oracle Cloud Infrastructure Media Services service.

Creates a new Stream Distribution Channel.

Example Usage

resource "oci_media_services_stream_distribution_channel" "test_stream_distribution_channel" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.stream_distribution_channel_display_name

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	locks {
		#Required
		compartment_id = var.compartment_id
		type = var.stream_distribution_channel_locks_type

		#Optional
		message = var.stream_distribution_channel_locks_message
		related_resource_id = oci_usage_proxy_resource.test_resource.id
		time_created = var.stream_distribution_channel_locks_time_created
	}
}

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

Import

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

$ terraform import oci_media_services_stream_distribution_channel.test_stream_distribution_channel "id"