mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +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
|
|
@ -19,9 +19,10 @@ EXAMPLES
|
|||
To create a new feed 'feed1' in project 'p1' which alerts on compute disks
|
||||
and network resources types, run:
|
||||
|
||||
$ gcloud alpha asset feeds create feed1 --project=p1
|
||||
--asset-types=compute.googleapis.com/Network,compute.googleapis.com/Disk
|
||||
--content-type=resource --pubsub-topic=projects/project1/topics/feed-topic
|
||||
$ gcloud alpha asset feeds create feed1 --project=p1 \
|
||||
--asset-types=compute.googleapis.com/Network,\
|
||||
compute.googleapis.com/Disk --content-type=resource \
|
||||
--pubsub-topic=projects/project1/topics/feed-topic
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
FEED_ID
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ DESCRIPTION
|
|||
EXAMPLES
|
||||
To add an asset-type to an existing feed, run:
|
||||
|
||||
$ gcloud alpha asset feeds update feed1 --project=p1
|
||||
--add-asset-types=pubsub.googleapis.com/Topic
|
||||
$ gcloud alpha asset feeds update feed1 --project=p1 \
|
||||
--add-asset-types=pubsub.googleapis.com/Topic
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
FEED_ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue