Deleting a Stream
Delete a stream in the Streaming service.
Stream contents are deleted immediately. You cannot recover a deleted stream.
For stream pools, see Deleting a Stream Pool.
- On the Streams list page, select the stream that you want to work with. If you need help finding the list page or the stream, see Listing Streams.
- From the , select Delete Stream.
Use the oci streaming admin stream delete command and required parameters to delete a stream:
oci streaming admin stream delete --stream-id <stream_OCID>
For example:
oci streaming admin stream --delete --stream-id ocid1.stream.oc1.phx.exampleuniqueID Are you sure you want to delete this resource? [y/N]:
Select
y
and pressEnter
. The stream is deleted with no further prompting.For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the DeleteStream operation to delete a stream.
Using OCI SDKs
Using Resource Manager and Terraform
To delete a Streaming resource from Resource Manager: run a destroy job and then delete your stack.
To delete a Streaming resource from the Terraform CLI, run terraform destroy
.
Resource Manager is an Oracle Cloud Infrastructure (OCI) service that allows you to automate the process of provisioning your OCI resources. Using Terraform, Resource Manager helps you install, configure, and manage resources through the "infrastructure-as-code" model.
A Terraform configuration codifies your infrastructure in declarative configuration files. The configuration defines the resources you intend to provision, variables, and specific instructions for provisioning the resources
You can use Resource Manager or the Terraform CLI with the OCI Terraform provider to see how your streams and stream pools are represented in Terraform configuration files.
For more information about writing configurations for use with Resource Manager, see Terraform Configurations for Resource Manager and Terraform Configuration.