Tagging a Distribution Channel

Add tags to a distribution channel in Media Streams to organize your resources according to your business needs. Adding tags is optional.

You can add tags at the time you create a resource, or you can update the resource later with the required tags. This task describes how to add tags to an existing channel. For general information about applying tags, see Resource Tags.

In addition to tagging distribution channels, you can tag the following Media Streams resources:

  • Packaging configurations
  • CDN configurations
  • Adding tags is optional.

    1. On the Distribution channels list page, select the compartment that contains the channel that you want to tag. If you need help finding the list page, see Creating a Distribution Channel.
    2. Select the name of the distribution channel that you want to tag.
    3. On the details page, select Tags.
    4. On the Tags tab, select Add and then provide the following details:
      • Namespace: To add a defined tag, select an existing namespace. To add a free-form tag, leave the value blank.
      • Key: To add a defined tag, select an existing tag key. To add a free-form tag, type the key name that you want.
      • Value: Type the tag value that you want.
    5. Add more tags as needed.
    6. Select Add tags.
  • To tag a distribution channel, run the update command:

    oci media-services stream-distribution-channel update [...] [--defined-tags | --freeform-tags] tags
                                

    Required parameters for the update command:

    • --stream-distribution-channel-id [text]

    To get all the commands for stream-distribution-channel:

    oci media-services stream-distribution-channel -h

    To get help for the update command:

    oci media-services stream-distribution-channel update -h

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • To tag a stream distribution channel, use the UpdateStreamDistributionChannel operation. Include the –defined-tags and –freeform-tags param attributes and their values.