gcloud commands Flashcards
What is the command you would use to list all properties within a configuration?
gcloud config list
What is the command you would use to specifically get the value of the project your currently in?
gcloud config get-value project
What is the command you would use to get a list of services?
gcloud services list
What is the command to create a new vm in the compute engine?
gcloud compute instances create
How can you delete an instance of a vm?
gcloud compute instances delete
What is the command to list all of the vm instances running within your current project?
gcloud compute instances list
What is the command you would run to set a config property?
gcloud config set
What is the command you would run to check a config property?
gcloud config get-value
What is the command you would run to clear a config property?
gcloud config unset
What is the command you would use to get an interactive workflow to set common properties in a config file?
gcloud init
What is the command you would use to list all your current configurations?
gcloud config configurations list
Whats the command you would use to create a new configuration?
gcloud config configurations create ITS_NAME
How can you switch to a new configuration that you have made?
gcloud config configurations activate ITS_NAME