Using curl to pull back instance and orchestration states
SummaryUsing curl to pull back instance and orchestration states
I’m running some curl from a shell script to get the state of an instance and also an orchestration.
In the below, I’ve replaced my actual tenant and info with the oracle sample code and I’ve previously generated a cookie and passed this into the $COMPUTE_COOKIE parameter.
This cookie works fine.
When I try and run curl against the instance it returns all the information I want – but how can I just pull back the state?
curl -X GET \
-H "Cookie: $COMPUTE_COOKIE" \
-H "Accept: application/oracle-compute-v3+json" \