mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Wed Aug 9 11:23:49 UTC 2023
This commit is contained in:
parent
678b9afba9
commit
19bfacfbed
148 changed files with 2955 additions and 379 deletions
|
|
@ -11,17 +11,21 @@ DESCRIPTION
|
|||
Update Compute Engine reservations.
|
||||
|
||||
EXAMPLES
|
||||
To add my-project to the list of projects that are shared with a Compute
|
||||
Engine reservation, my-reservation in zone: us-central1-a, run:
|
||||
To add project-1,project-2,project-3 to the list of projects that are
|
||||
shared with a Compute Engine reservation, my-reservation in zone:
|
||||
us-central1-a, run:
|
||||
|
||||
$ gcloud compute reservations update my-reservation \
|
||||
--add-share-with=my-project --zone=us-central1-a
|
||||
--add-share-with=project-1,project-2,project-3 \
|
||||
--zone=us-central1-a
|
||||
|
||||
To remove my-project from the list of projects that are shared with a
|
||||
Compute Engine reservation, my-reservation in zone: us-central1-a, run:
|
||||
To remove project-1,project-2,project-3 from the list of projects that are
|
||||
shared with a Compute Engine reservation, my-reservation in zone:
|
||||
us-central1-a, run:
|
||||
|
||||
$ gcloud compute reservations update my-reservation \
|
||||
--remove-share-with=my-project --zone=us-central1-a
|
||||
--remove-share-with=project-1,project-2,project-3 \
|
||||
--zone=us-central1-a
|
||||
|
||||
To update the number of reserved VM instances to 500 for a Compute Engine
|
||||
reservation, my-reservation in zone: us-central1-a, run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue