Tagging a Distribution Channel

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

You can add tags at the time you create a resource, or you can update the resource later with the required tags. For general information about applying tags, see Resource Tags and for general information about tagging, see Tagging Overview.

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

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

    1. Open the navigation menu and click Analytics & AI. Under Media Services, click Media Streams.
    2. On the Distribution Channel list page, select the compartment that contains the channel that you want to tag.
    3. Click the name of the distribution channel that you want to tag.
    4. On the Distribution Channel details page, click Add tags.
    5. In the Add tags dialog box, provide the following details:
      • Tag namespace: To add a defined tag, select an existing namespace. To add a free-from tag, leave the value blank.
      • Tag key: To add a defined tag, select an existing tag key. To add a free-form tag, type the key name that you want.
      • Tag value: Type the tag value that you want.

      To add more tags, click Add tag. To remove a tag, click X.

    6. Click 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.