mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Wed Dec 6 10:10:36 UTC 2023
This commit is contained in:
parent
d3074f94bb
commit
f36750d203
469 changed files with 9617 additions and 1400 deletions
|
|
@ -12,19 +12,20 @@ SYNOPSIS
|
|||
|
||||
DESCRIPTION
|
||||
(BETA) This command lists all recommendations for a given cloud_entity_id,
|
||||
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.
|
||||
location, and recommender. If recommender is not specified, recommendations
|
||||
for all supported recommenders are listed. 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 beta recommender recommendations list \
|
||||
--project=project-name --location=global \
|
||||
--project=project-id --location=global \
|
||||
--recommender=google.compute.instance.MachineTypeRecommender
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
Location
|
||||
Location to list recommendations for.
|
||||
|
||||
Resource that is associated with cloud entity type. Currently four
|
||||
mutually exclusive flags are supported, --project, --billing-account,
|
||||
|
|
@ -49,7 +50,7 @@ REQUIRED FLAGS
|
|||
FLAGS
|
||||
--recommender=RECOMMENDER
|
||||
Recommender to list recommendations for. If no recommender is
|
||||
specified, recommendations for all supported recommenders is listed.
|
||||
specified, recommendations for all supported recommenders are listed.
|
||||
Supported recommenders can be found here:
|
||||
https://cloud.google.com/recommender/docs/recommenders
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ DESCRIPTION
|
|||
EXAMPLES
|
||||
To mark a recommendation as CLAIMED:
|
||||
|
||||
$ gcloud beta recommender recommendations mark-claimed \
|
||||
RECOMMENDATION --project=project-name --location=global \
|
||||
$ gcloud beta recommender recommendations mark-claimed abcd-1234 \
|
||||
--project=project-id --location=global \
|
||||
--recommender=google.compute.instance.MachineTypeRecommender \
|
||||
--etag=abc123 --state-metadata=key1=value1,key2=value2
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXAMPLES
|
|||
To mark a recommendation as DISMISSED:
|
||||
|
||||
$ gcloud beta recommender recommendations mark-dismissed abcd-1234 \
|
||||
--project=project-name --location=global \
|
||||
--project=project-id --location=global \
|
||||
--recommender=google.compute.instance.MachineTypeRecommender \
|
||||
--etag=abc123
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXAMPLES
|
|||
To mark a recommendation as FAILED:
|
||||
|
||||
$ gcloud beta 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
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ EXAMPLES
|
|||
To mark a recommendation as SUCCEEDED:
|
||||
|
||||
$ gcloud beta 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue