Gcloud commands


ketan_patel@cloudshell:~ (new-user-learning)$ gcloud config list compute/region
[compute]
region (unset)

Your active configuration is: [cloudshell-22327]
ketan_patel@cloudshell:~ (new-user-learning)$ gcloud config list compute/zone
[compute]
zone (unset)

Your active configuration is: [cloudshell-22327]

ketan_patel@cloudshell:~ (new-user-learning)$ gcloud config set compute/region us-west1
Updated property [compute/region].


ketan_patel@cloudshell:~ (new-user-learning)$ gcloud config set compute/zone us-west1-b
Updated property [compute/zone].

ketan_patel@cloudshell:~ (new-user-learning)$ gcloud config list
[accessibility]
screen_reader = True
[component_manager]
disable_update_check = True
[compute]
gce_metadata_read_timeout_sec = 30
region = us-west1
zone = us-west1-b
[core]
account = ketan.patel@supernal.aero
disable_usage_reporting = True
project = new-user-learning
[metrics]
environment = devshell

Your active configuration is: [cloudshell-22327]
ketan_patel@cloudshell:~ (new-user-learning)$ 

No comments:

Post a Comment

Streaming Data Processing: Publish Streaming Data into PubSub

 Perform the following tasks: Create a Pub/Sub topic and subscription Simulate your traffic sensor data into Pub/Sub Pub/Sub is a fully-mana...