mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -14,30 +14,30 @@ EXAMPLES
|
|||
To create a quota override for a project with project number, run:
|
||||
|
||||
$ gcloud alpha services quota create \
|
||||
--service=example.googleapis.com --consumer=projects/12321
|
||||
--metric=example.googleapis.com/default_requests
|
||||
--service=example.googleapis.com --consumer=projects/12321 \
|
||||
--metric=example.googleapis.com/default_requests \
|
||||
--unit=1/min/{project} --value=360
|
||||
|
||||
To create a quota override for a project with project ID, run:
|
||||
|
||||
$ gcloud alpha services quota create \
|
||||
--service=example.googleapis.com --consumer=projects/hello
|
||||
--metric=example.googleapis.com/default_requests
|
||||
--service=example.googleapis.com --consumer=projects/hello \
|
||||
--metric=example.googleapis.com/default_requests \
|
||||
--unit=1/min/{project} --value=360
|
||||
|
||||
To create a quota override for an organization, run:
|
||||
|
||||
$ gcloud alpha services quota create \
|
||||
--service=example.googleapis.com --consumer=organizations/555
|
||||
--metric=example.googleapis.com/default_requests
|
||||
--service=example.googleapis.com --consumer=organizations/555 \
|
||||
--metric=example.googleapis.com/default_requests \
|
||||
--unit=1/min/{project} --value=360
|
||||
|
||||
To force the creation of a quota override with dimensions, run:
|
||||
|
||||
$ gcloud alpha services quota create \
|
||||
--service=example.googleapis.com --consumer=projects/12321
|
||||
--metric=example.googleapis.com/default_requests
|
||||
--unit=1/min/{project} --dimensions=regions=us-central1
|
||||
--service=example.googleapis.com --consumer=projects/12321 \
|
||||
--metric=example.googleapis.com/default_requests \
|
||||
--unit=1/min/{project} --dimensions=regions=us-central1 \
|
||||
--dimensions=zones=us-central1-c --value=360 --force
|
||||
|
||||
REQUIRED FLAGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue