1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Tue Mar 1 21:43:54 UTC 2022

This commit is contained in:
Automated 2022-03-01 21:43:54 +00:00
parent c1c3b75313
commit 21878eea72
1018 changed files with 4838 additions and 3409 deletions

View file

@ -34,18 +34,16 @@ EXAMPLES
existing channels. It is also a best practice to supply at least two
channels of different types for a given person.
$ gcloud alpha monitoring channels create \
--display-name="Foo Team Lead (Primary)" \
--description="Primary contact method for the Foo team lead" \
--type=email \
--user-labels=team=foo,role=lead,ord=1 \
$ gcloud alpha monitoring channels create \
--display-name="Foo Team Lead (Primary)" \
--description="Primary contact method for the Foo team lead" \
--type=email --user-labels=team=foo,role=lead,ord=1 \
--channel-labels=email_address=user@somedomain.tld
$ gcloud alpha monitoring channels create \
--display-name="Foo Team Lead (Secondary)" \
$ gcloud alpha monitoring channels create \
--display-name="Foo Team Lead (Secondary)" \
--description="Secondary contact method for the Foo team lead" \
--type=sms \
--user-labels=team=foo,role=lead,ord=2 \
--type=sms --user-labels=team=foo,role=lead,ord=2 \
--channel-labels=number=123-456-7890
FLAGS

View file

@ -21,10 +21,9 @@ EXAMPLES
The following command lists all of the email addresses alphabetically:
$ gcloud alpha monitoring channels list \
--filter='type="email"' \
--sort-by=labels.email_address \
--format="value(labels.email_address)"
$ gcloud alpha monitoring channels list --filter='type="email"' \
--sort-by=labels.email_address \
--format="value(labels.email_address)"
FLAGS
--type=TYPE

View file

@ -36,7 +36,7 @@ EXAMPLES
point from its original email address to "newaddress@newdomain.tld":
$ gcloud alpha monitoring channels update \
"projects/12345/notificationChannels/67890" \
"projects/12345/notificationChannels/67890" \
--update-channel-labels=email_address=newaddress@newdomain.tld
POSITIONAL ARGUMENTS