Tagging a Volume Group at Creation
Add metadata to a volume group when you first create it. This metadata enables you to define keys and values and to associate them with resources.
If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
Use the
\
command and required parameters to tag a volume group at creation:oci bv volume-group create [...] [--defined-tags | --freeform-tags] <tags>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
CreateVolumeGroup
operation and specify thedefinedTags
andfreeformTags
attributes to tag a volume group at creation