Deleting a Stream Pool

Delete a stream pool in the Streaming service.

Caution

The stream pool and all streams within the pool are deleted immediately. You can't recover a deleted stream pool.
    1. On the Stream Pools list page, find the stream pool that you want to work with. If you need help finding the list page or the stream pool, see Listing Stream Pools.
    2. From the Actions menu (Actions Menu), select Delete Stream Pool.
  • Use the oci streaming admin stream-pool delete command and required parameters to delete a stream pool:

    oci streaming admin stream-pool delete --stream-pool-id <stream_pool_OCID>

    For example:

    oci streaming admin stream-pool delete --stream-pool-id ocid1.streampool.oc1.phx.exampleuniqueID
    Are you sure you want to delete this resource? [y/N]:

    Select y and press Enter. The stream pool is deleted with no further prompting.

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the DeleteStreamPool operation to delete a stream pool.

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.

About Resource Manager and Terraform

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.