Tagging a Budget Alert Rule at Creation

Describes how to add metadata to a budget alert rule when you first create one. This metadata enables you to define keys and values and associate them with resources.

  • This task can't be performed using the Console.

  • Use the --defined-tags or --freeform-tags options when running the oci budgets alert-rule create command to tag a budget alert rule when you create it:

    oci budgets alert-rule create [...] [--defined-tags | --freeform-tags] tags [OPTIONS]

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

  • Run the CreateAlertRule operation to create a budget alert rule. Include the definedTags and freeformTags attributes and their values.