Advertisement
fkeles

create-tag-namespace.sh

May 9th, 2023 (edited)
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.51 KB | Source Code | 0 0
  1. ## create tag namespace
  2. oci raw-request --http-method POST --target-uri https://identity.<region>.oraclecloud.com/20160918/tagNamespaces --request-body '{"compartmentId" : "ocid1.compartment.oc1..<unique-compartment-id>","name" : "RunCommandOnComputeInstance","description" : "Allow compute instances with this tag to run commands"}'
  3.  
  4. ## delete tag namespace
  5. oci raw-request --http-method DELETE --target-uri https://identity.<region>.oraclecloud.com/20160918/tagNamespaces/ocid1.tagnamespace.oc1..<unique-tagnamespace-id>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement