Updating a Stream
Move a stream to a different stream pool, or update its tags.
When you update a stream, you can also update its tags. For more information about tagging, see Resource Tags.
For instructions to move a stream to a different compartment, see Moving a Stream to a Different Compartment.
For stream pools, see Updating a Stream Pool.
Use the oci streaming admin stream update command and required parameters to update a stream:
oci streaming admin stream update --stream-id <stream_OCID> [OPTIONS]
Example for moving the stream to a different stream pool:
oci streaming admin stream update --stream-id ocid1.stream.oc1.phx.exampleuniqueID --stream-pool-id ocid1.streampool.oc1.phx.exampleuniqueID { "data": { "compartment-id": "ocid1.tenancy.oc1..exampleuniqueID", "defined-tags": {}, "freeform-tags": {}, "id": "ocid1.stream.oc1.phx.exampleuniqueID", "lifecycle-state": "UPDATING", "lifecycle-state-details": null, "messages-endpoint": "https://cell-1.streaming.us-phoenix-1.oci.oraclecloud.com", "name": "MyStream", "partitions": 1, "retention-in-hours": 24, "stream-pool-id": "ocid1.streampool.oc1.phx.exampleuniqueID", "time-created": "2020-11-02T19:12:22.385000+00:00" }, "etag": "\"25b49cb2-f0c0-4421-b39f-899846b9d7c9-0c3a8572-1719-44ba-840d-19843352c9ba\"" }
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateStream operation to update a stream.