otdfctl policy resource-mappings create
create - Create a resource mapping
Synopsis
otdfctl policy resource-mappings create [flags]Description
Associate an attribute value with a set of plaintext string terms.
For more information about resource mappings, see the resource-mappings subcommand.
Examples
otdfctl policy resource-mappings create --attribute-value-id 891cfe85-b381-4f85-9699-5f7dbfe2a9ab --terms term1,term2 --group-id 3ff446fb-8fb1-4c04-8023-47592c90370c
Options
-
--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)
Aliases
add, new, c