Advertisement
fkeles

create-tag-key-definition.sh

May 9th, 2023
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | Source Code | 0 0
  1. ## create tag key with a list of values
  2. oci raw-request --http-method POST --target-uri https://identity.<region>.oraclecloud.com/20160918/tagNamespaces/ocid1.tagnamespace.oc1..<unique-tagnamespace-id>/tags --request-body '{"name" : "Allowed","description" : "Allow running commands","type" : "string","validator": {"validatorType": "ENUM","values": ["True","False"]}}'
  3.  
  4. ## get tag key
  5. oci raw-request --http-method GET --target-uri https://identity.<region>.oraclecloud.com/20160918/tagNamespaces/ocid1.tagnamespace.oc1..<unique-tagnamespace-id>/tags/Allowed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement