Reputation: 35
I need to get the URI of a compute engine resource? How do you get the URI of any resource in GCP?
Tried to find the URI in the console but could not do so
Upvotes: 1
Views: 1979
Reputation: 81336
The Cloud SDK has the command line option --uri
which will display the resource URI. This option is not available for all resource types.
For example:
gcloud compute instances list --uri
Upvotes: 3