otdfctl policy resource-mappings update
update - Update a resource mapping
Synopsis
otdfctl policy resource-mappings update [flags]Description
Alter the attribute value associated with a resource mapping's terms, change its group, or fully replace the terms in a given resource mapping.
For more information about resource mappings, see the resource-mappings subcommand.
Examples
otdfctl policy resource-mappings update --id=3ff446fb-8fb1-4c04-8023-47592c90370c --terms newterm1,newterm2
Options
-
--id <id> - The ID of the resource mapping to update. (required:
false)
-
--attribute-value-id <attribute-value-id> - The ID of the attribute value to map to the resource. (required:
false)
-
--terms <terms> - The synonym terms to match for the resource mapping. (required:
false)
-
--group-id <group-id> - The ID of the resource mapping group to assign this mapping to (required:
false)
-l,--label <label>- Optional metadata 'labels' in the format: key=value (required:
false)
-
--force-replace-labels <force-replace-labels> - Destructively replace entire set of existing metadata 'labels' with any provided to this command (required:
false)
Aliases
u