1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

gcloud: Wed Dec 6 10:10:36 UTC 2023

This commit is contained in:
Automated 2023-12-06 10:10:36 +00:00
parent d3074f94bb
commit f36750d203
469 changed files with 9617 additions and 1400 deletions

View file

@ -19,7 +19,7 @@ DESCRIPTION
EXAMPLES
To list all insights for a billing account:
$ gcloud recommender insights list --project=project-name \
$ gcloud recommender insights list --project=project-id \
--location=global --insight-type=google.compute.firewall.Insight
REQUIRED FLAGS
@ -28,7 +28,7 @@ REQUIRED FLAGS
here: https://cloud.google.com/recommender/docs/insights/insight-types
--location=LOCATION
Location
Location to list insights for.
Resource that is associated with cloud entity type. Currently four
mutually exclusive flags are supported, --project, --billing-account,

View file

@ -18,7 +18,7 @@ EXAMPLES
To mark an insight as ACCEPTED:
$ gcloud recommender insights mark-accepted abcd-1234 \
--project=project-name --location=global \
--project=project-id --location=global \
--insight-type=google.compute.firewall.Insight --etag=abc123
POSITIONAL ARGUMENTS

View file

@ -12,19 +12,19 @@ SYNOPSIS
DESCRIPTION
This command lists all recommendations for a given cloud_entity_id,
location and recommender. Supported recommenders can be found here:
location, and recommender. Supported recommenders can be found here:
https://cloud.google.com/recommender/docs/recommenders. Currently the
following cloud_entity_types are supported: project, billing_account,
folder and organization.
EXAMPLES
Lists recommendations for a Cloud project. $ gcloud recommender recommendations list --project=project-name \
Lists recommendations for a Cloud project. $ gcloud recommender recommendations list --project=project-id \
--location=global \
--recommender=google.compute.instance.MachineTypeRecommender
REQUIRED FLAGS
--location=LOCATION
Location
Location to list recommendations for.
--recommender=RECOMMENDER
Recommender to list recommendations for. Supported recommenders can be

View file

@ -19,8 +19,8 @@ DESCRIPTION
EXAMPLES
To mark a recommendation as CLAIMED:
$ gcloud recommender recommendations mark-claimed RECOMMENDATION \
--project=project-name --location=global \
$ gcloud recommender recommendations mark-claimed abcd-1234 \
--project=project-id --location=global \
--recommender=google.compute.instance.MachineTypeRecommender \
--etag=abc123 --state-metadata=key1=value1,key2=value2

View file

@ -19,7 +19,7 @@ EXAMPLES
To mark a recommendation as DISMISSED:
$ gcloud recommender recommendations mark-dismissed abcd-1234 \
--project=project-name --location=global \
--project=project-id --location=global \
--recommender=google.compute.instance.MachineTypeRecommender \
--etag=abc123

View file

@ -17,7 +17,7 @@ EXAMPLES
To mark a recommendation as FAILED:
$ gcloud recommender recommendations mark-failed abcd-1234 \
--project=project-name --location=global \
--project=project-id --location=global \
--recommender=google.compute.instance.MachineTypeRecommender \
--etag=abc123 --state-metadata=key1=value1,key2=value2

View file

@ -17,7 +17,7 @@ EXAMPLES
To mark a recommendation as SUCCEEDED:
$ gcloud recommender recommendations mark-succeeded abcd-1234 \
--project=project-name --location=global \
--project=project-id --location=global \
--recommender=google.compute.instance.MachineTypeRecommender \
--etag=abc123 --state-metadata=key1=value1,key2=value2