Instance State in Metadata API
complete
Daniel Lotterman
It would be useful if the Metadata API for an instance could return the running state for that instance as part of it's response.
As in if I am a Metal instance, I want to be able to get "state": "powered_on" or "state": "provisioning" from my Metadata API.
This would let automation pivot based on the platform state of the box, as in "If I am still in provisioning state in the Metal platform, wait until state is powered_on before performing proceeding.
Exposing it through metadata dramatically simplifies the act of getting the answer needed as opposed to querying it via the public API
S
Sal Carrasco
complete
S
Sal Carrasco
hi everyone. Users can now view device "state" via the Instance Metadata API!
Here's an example query and response:
~# curl -s https://metadata.platformequinix.com/metadata | jq .state
"active"
For more information please refer to our docs: https://deploy.equinix.com/developers/docs/metal/server-metadata/metadata/#state
S
Sal Carrasco
in progress
S
Sal Carrasco
under review