Google cloud sdk: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
<pre>
<pre>
gcloud compute instances GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
gcloud compute instances GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
</pre>
<pre>
$ gcloud compute instances list
</pre>
</pre>



Revision as of 10:04, 6 December 2018

Overview

google cloud sdk 내용 정리

Install

google cloud sdk Downlaod

gcloud wide flags

gcloud 전역에서 사용되는 flag 정리.

--account

Google cloud platform user account to use for invocation. Overrides the default core/account property value for this command invocation.

--account=ACCOUNT

--project

The google cloud platform project name to use for this invocation. If omitted, then the current project is assumed; the current project can be listed using `gcloud config list --format='text(core.project)'` and can be set using `gcloud config set project PROJECTID`. Overrides the default core/project property value for this command invocation.

--project=PROJECT_ID

compute

compute instances

Read and manipulate Google Compute Engine virtual machine instances

gcloud compute instances GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]


$ gcloud compute instances list